Struct pseudoterminal::TerminalSize
source · pub struct TerminalSize {
pub rows: u16,
pub columns: u16,
}
Fields§
§rows: u16
§columns: u16
Trait Implementations§
source§impl Clone for TerminalSize
impl Clone for TerminalSize
source§fn clone(&self) -> TerminalSize
fn clone(&self) -> TerminalSize
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 TerminalSize
impl Debug for TerminalSize
source§impl From<TerminalSize> for Winsize
impl From<TerminalSize> for Winsize
source§fn from(value: TerminalSize) -> Self
fn from(value: TerminalSize) -> Self
Converts to this type from the input type.
source§impl PartialEq<TerminalSize> for TerminalSize
impl PartialEq<TerminalSize> for TerminalSize
source§fn eq(&self, other: &TerminalSize) -> bool
fn eq(&self, other: &TerminalSize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TerminalSize
impl StructuralPartialEq for TerminalSize
Auto Trait Implementations§
impl RefUnwindSafe for TerminalSize
impl Send for TerminalSize
impl Sync for TerminalSize
impl Unpin 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