Struct displayz::DisplaySettings
source · [−]pub struct DisplaySettings {
pub position: Position,
pub resolution: Resolution,
pub orientation: Orientation,
pub fixed_output: FixedOutput,
}
Expand description
Contains the settings of a display
Fields
position: Position
resolution: Resolution
orientation: Orientation
fixed_output: FixedOutput
Trait Implementations
sourceimpl Clone for DisplaySettings
impl Clone for DisplaySettings
sourcefn clone(&self) -> DisplaySettings
fn clone(&self) -> DisplaySettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DisplaySettings
impl Debug for DisplaySettings
sourceimpl Hash for DisplaySettings
impl Hash for DisplaySettings
sourceimpl PartialEq<DisplaySettings> for DisplaySettings
impl PartialEq<DisplaySettings> for DisplaySettings
sourcefn eq(&self, other: &DisplaySettings) -> bool
fn eq(&self, other: &DisplaySettings) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DisplaySettings) -> bool
fn ne(&self, other: &DisplaySettings) -> bool
This method tests for !=
.
impl Copy for DisplaySettings
impl Eq for DisplaySettings
impl StructuralEq for DisplaySettings
impl StructuralPartialEq for DisplaySettings
Auto Trait Implementations
impl RefUnwindSafe for DisplaySettings
impl Send for DisplaySettings
impl Sync for DisplaySettings
impl Unpin for DisplaySettings
impl UnwindSafe for DisplaySettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more