Struct console_static_text::ConsoleSize
source · pub struct ConsoleSize {
pub cols: Option<u16>,
pub rows: Option<u16>,
}
Fields§
§cols: Option<u16>
§rows: Option<u16>
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§fn eq(&self, other: &ConsoleSize) -> bool
fn eq(&self, other: &ConsoleSize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConsoleSize
impl Eq for ConsoleSize
impl StructuralEq for ConsoleSize
impl StructuralPartialEq for ConsoleSize
Auto Trait Implementations§
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