Struct TerminalWidth
pub struct TerminalWidth { /* private fields */ }Expand description
A nonzero terminal width in columns.
Implementations§
§impl TerminalWidth
impl TerminalWidth
Trait Implementations§
§impl Clone for TerminalWidth
impl Clone for TerminalWidth
§fn clone(&self) -> TerminalWidth
fn clone(&self) -> TerminalWidth
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 more§impl Debug for TerminalWidth
impl Debug for TerminalWidth
§impl Hash for TerminalWidth
impl Hash for TerminalWidth
§impl Ord for TerminalWidth
impl Ord for TerminalWidth
§impl PartialEq for TerminalWidth
impl PartialEq for TerminalWidth
§impl PartialOrd for TerminalWidth
impl PartialOrd for TerminalWidth
impl Copy for TerminalWidth
impl Eq for TerminalWidth
impl StructuralPartialEq for TerminalWidth
Auto Trait Implementations§
impl Freeze for TerminalWidth
impl RefUnwindSafe for TerminalWidth
impl Send for TerminalWidth
impl Sync for TerminalWidth
impl Unpin for TerminalWidth
impl UnsafeUnpin for TerminalWidth
impl UnwindSafe for TerminalWidth
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