pub struct ChannelCommandTTYSizeMetadata {
pub height_cells: u32,
pub width_cells: u32,
pub height_pixels: u32,
pub width_pixels: u32,
}Fields§
§height_cells: u32§width_cells: u32§height_pixels: u32§width_pixels: u32Trait Implementations§
Source§impl Clone for ChannelCommandTTYSizeMetadata
impl Clone for ChannelCommandTTYSizeMetadata
Source§fn clone(&self) -> ChannelCommandTTYSizeMetadata
fn clone(&self) -> ChannelCommandTTYSizeMetadata
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<'de> Deserialize<'de> for ChannelCommandTTYSizeMetadata
impl<'de> Deserialize<'de> for ChannelCommandTTYSizeMetadata
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
impl Eq for ChannelCommandTTYSizeMetadata
Source§impl Ord for ChannelCommandTTYSizeMetadata
impl Ord for ChannelCommandTTYSizeMetadata
Source§fn cmp(&self, other: &ChannelCommandTTYSizeMetadata) -> Ordering
fn cmp(&self, other: &ChannelCommandTTYSizeMetadata) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ChannelCommandTTYSizeMetadata
impl PartialEq for ChannelCommandTTYSizeMetadata
Source§fn eq(&self, other: &ChannelCommandTTYSizeMetadata) -> bool
fn eq(&self, other: &ChannelCommandTTYSizeMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ChannelCommandTTYSizeMetadata
impl PartialOrd for ChannelCommandTTYSizeMetadata
impl StructuralPartialEq for ChannelCommandTTYSizeMetadata
Auto Trait Implementations§
impl Freeze for ChannelCommandTTYSizeMetadata
impl RefUnwindSafe for ChannelCommandTTYSizeMetadata
impl Send for ChannelCommandTTYSizeMetadata
impl Sync for ChannelCommandTTYSizeMetadata
impl Unpin for ChannelCommandTTYSizeMetadata
impl UnsafeUnpin for ChannelCommandTTYSizeMetadata
impl UnwindSafe for ChannelCommandTTYSizeMetadata
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