pub struct TerminalSize {
pub width: i32,
pub height: i32,
}Expand description
Struct to hold terminal size information in terms of width and height.
Fields§
§width: i32Width of the terminal in pixels
height: i32Height of the terminal in pixels
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TerminalSize
impl RefUnwindSafe for TerminalSize
impl Send for TerminalSize
impl Sync for TerminalSize
impl Unpin for TerminalSize
impl UnwindSafe for TerminalSize
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