pub struct ConsoleSize {
pub height: u64,
pub width: u64,
}
Expand description
Initial size of the console
Fields§
§height: u64
§width: u64
Trait Implementations§
Source§impl Clone for ConsoleSize
impl Clone for ConsoleSize
Source§fn clone(&self) -> ConsoleSize
fn clone(&self) -> ConsoleSize
Returns a copy 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 ConsoleSize
impl Debug for ConsoleSize
Source§impl PartialEq for ConsoleSize
impl PartialEq for ConsoleSize
Source§impl Serialize for ConsoleSize
impl Serialize for ConsoleSize
impl Copy for ConsoleSize
impl StructuralPartialEq for ConsoleSize
Auto Trait Implementations§
impl Freeze for ConsoleSize
impl RefUnwindSafe for ConsoleSize
impl Send for ConsoleSize
impl Sync for ConsoleSize
impl Unpin 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