pub struct TerminalSize {
pub width: i64,
pub height: i64,
}Fields§
§width: i64§height: i64Trait Implementations§
Source§impl AverDisplay for TerminalSize
impl AverDisplay for TerminalSize
fn aver_display(&self) -> String
fn aver_display_inner(&self) -> String
Source§impl Clone for TerminalSize
impl Clone for TerminalSize
Source§fn clone(&self) -> TerminalSize
fn clone(&self) -> TerminalSize
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 moreSource§impl Debug for TerminalSize
impl Debug for TerminalSize
Source§impl Hash for TerminalSize
impl Hash for TerminalSize
Source§impl Ord for TerminalSize
impl Ord for TerminalSize
Source§fn cmp(&self, other: &TerminalSize) -> Ordering
fn cmp(&self, other: &TerminalSize) -> Ordering
1.21.0 · 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 TerminalSize
impl PartialEq for TerminalSize
Source§impl PartialOrd for TerminalSize
impl PartialOrd for TerminalSize
impl Eq for TerminalSize
impl StructuralPartialEq for TerminalSize
Auto Trait Implementations§
impl Freeze for TerminalSize
impl RefUnwindSafe for TerminalSize
impl Send for TerminalSize
impl Sync for TerminalSize
impl Unpin for TerminalSize
impl UnsafeUnpin for TerminalSize
impl UnwindSafe for TerminalSize
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