pub struct DisplayParameters {
pub input: VideoInput,
pub max_size: Option<ImageSize>,
pub gamma: Option<f32>,
pub dpms: DPMSFeatures,
}Expand description
Information about the display hardware.
Fields§
§input: VideoInput§max_size: Option<ImageSize>The maximum size of the image on the monitor.
gamma: Option<f32>The display’s gamma factor.
dpms: DPMSFeaturesDPMS feature support.
Trait Implementations§
Source§impl Clone for DisplayParameters
impl Clone for DisplayParameters
Source§fn clone(&self) -> DisplayParameters
fn clone(&self) -> DisplayParameters
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 moreAuto Trait Implementations§
impl Freeze for DisplayParameters
impl RefUnwindSafe for DisplayParameters
impl Send for DisplayParameters
impl Sync for DisplayParameters
impl Unpin for DisplayParameters
impl UnwindSafe for DisplayParameters
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