Struct crossterm::terminal::WindowSize
source · pub struct WindowSize {
pub rows: u16,
pub columns: u16,
pub width: u16,
pub height: u16,
}
Fields§
§rows: u16
§columns: u16
§width: u16
§height: u16
Trait Implementations§
source§impl Debug for WindowSize
impl Debug for WindowSize
source§impl From<winsize> for WindowSize
impl From<winsize> for WindowSize
source§fn from(size: winsize) -> WindowSize
fn from(size: winsize) -> WindowSize
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WindowSize
impl RefUnwindSafe for WindowSize
impl Send for WindowSize
impl Sync for WindowSize
impl Unpin for WindowSize
impl UnwindSafe for WindowSize
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more