pub struct WindowSizeMsg {
pub width: u16,
pub height: u16,
}Expand description
A message indicating a change in the terminal window size.
Fields§
§width: u16The new width of the terminal window.
height: u16The new height of the terminal window.
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 moreAuto 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