pub struct WinSize {
pub cols: u16,
pub rows: u16,
}Expand description
Terminal dimensions in character cells.
Fields§
§cols: u16§rows: u16Trait Implementations§
impl Copy for WinSize
impl Eq for WinSize
impl StructuralPartialEq for WinSize
Auto Trait Implementations§
impl Freeze for WinSize
impl RefUnwindSafe for WinSize
impl Send for WinSize
impl Sync for WinSize
impl Unpin for WinSize
impl UnsafeUnpin for WinSize
impl UnwindSafe for WinSize
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