pub struct OutputMode { /* private fields */ }
Expand description
The text mode (resolution) of the output device.
Implementations§
Trait Implementations§
source§impl Clone for OutputMode
impl Clone for OutputMode
source§fn clone(&self) -> OutputMode
fn clone(&self) -> OutputMode
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 OutputMode
impl Debug for OutputMode
source§impl Ord for OutputMode
impl Ord for OutputMode
source§fn cmp(&self, other: &OutputMode) -> Ordering
fn cmp(&self, other: &OutputMode) -> 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 OutputMode
impl PartialEq for OutputMode
source§fn eq(&self, other: &OutputMode) -> bool
fn eq(&self, other: &OutputMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OutputMode
impl PartialOrd for OutputMode
source§fn partial_cmp(&self, other: &OutputMode) -> Option<Ordering>
fn partial_cmp(&self, other: &OutputMode) -> Option<Ordering>
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 OutputMode
impl Eq for OutputMode
impl StructuralPartialEq for OutputMode
Auto Trait Implementations§
impl Freeze for OutputMode
impl RefUnwindSafe for OutputMode
impl Send for OutputMode
impl Sync for OutputMode
impl Unpin for OutputMode
impl UnwindSafe for OutputMode
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