pub struct ConsoleSize {
pub height: u32,
pub width: u32,
}Expand description
Console size configuration.
Fields§
§height: u32Height in characters.
width: u32Width in characters.
Trait Implementations§
Source§impl Clone for ConsoleSize
impl Clone for ConsoleSize
Source§fn clone(&self) -> ConsoleSize
fn clone(&self) -> ConsoleSize
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 ConsoleSize
impl Debug for ConsoleSize
Source§impl<'de> Deserialize<'de> for ConsoleSize
impl<'de> Deserialize<'de> for ConsoleSize
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
Auto Trait Implementations§
impl Freeze for ConsoleSize
impl RefUnwindSafe for ConsoleSize
impl Send for ConsoleSize
impl Sync for ConsoleSize
impl Unpin for ConsoleSize
impl UnsafeUnpin for ConsoleSize
impl UnwindSafe for ConsoleSize
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