Struct terminal_size::Height
source · pub struct Height(pub u16);
Tuple Fields§
§0: u16
Trait Implementations§
source§impl Ord for Height
impl Ord for Height
source§impl PartialEq<Height> for Height
impl PartialEq<Height> for Height
source§impl PartialOrd<Height> for Height
impl PartialOrd<Height> for Height
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Height
impl Eq for Height
impl StructuralEq for Height
impl StructuralPartialEq for Height
Auto Trait Implementations§
impl RefUnwindSafe for Height
impl Send for Height
impl Sync for Height
impl Unpin for Height
impl UnwindSafe for Height
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