pub struct WindowSizeMsg {
pub width: u16,
pub height: u16,
}Expand description
Message containing terminal window size.
Fields§
§width: u16Terminal width in columns.
height: u16Terminal height in rows.
Trait Implementations§
Source§impl Clone for WindowSizeMsg
impl Clone for WindowSizeMsg
Source§fn clone(&self) -> WindowSizeMsg
fn clone(&self) -> WindowSizeMsg
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WindowSizeMsg
impl Debug for WindowSizeMsg
Source§impl PartialEq for WindowSizeMsg
impl PartialEq for WindowSizeMsg
impl Copy for WindowSizeMsg
impl Eq for WindowSizeMsg
impl StructuralPartialEq for WindowSizeMsg
Auto Trait Implementations§
impl Freeze for WindowSizeMsg
impl RefUnwindSafe for WindowSizeMsg
impl Send for WindowSizeMsg
impl Sync for WindowSizeMsg
impl Unpin for WindowSizeMsg
impl UnwindSafe for WindowSizeMsg
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