pub struct TerminalResizedAction {
pub cols: i64,
pub rows: i64,
}Expand description
Terminal dimensions changed.
Dispatchable by clients to request a resize, or by the server to inform clients of the actual terminal dimensions.
Fields§
§cols: i64Terminal width in columns
rows: i64Terminal height in rows
Trait Implementations§
Source§impl Clone for TerminalResizedAction
impl Clone for TerminalResizedAction
Source§fn clone(&self) -> TerminalResizedAction
fn clone(&self) -> TerminalResizedAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TerminalResizedAction
impl Debug for TerminalResizedAction
Source§impl<'de> Deserialize<'de> for TerminalResizedAction
impl<'de> Deserialize<'de> for TerminalResizedAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TerminalResizedAction
impl PartialEq for TerminalResizedAction
Source§fn eq(&self, other: &TerminalResizedAction) -> bool
fn eq(&self, other: &TerminalResizedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TerminalResizedAction
impl Serialize for TerminalResizedAction
impl StructuralPartialEq for TerminalResizedAction
Auto Trait Implementations§
impl Freeze for TerminalResizedAction
impl RefUnwindSafe for TerminalResizedAction
impl Send for TerminalResizedAction
impl Sync for TerminalResizedAction
impl Unpin for TerminalResizedAction
impl UnsafeUnpin for TerminalResizedAction
impl UnwindSafe for TerminalResizedAction
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