pub struct DrmModeInfo { /* private fields */ }Expand description
A display mode of a connector.
Implementations§
Source§impl DrmModeInfo
impl DrmModeInfo
pub fn resolution(&self) -> PixelSize
pub fn is_preferred(&self) -> bool
pub fn name(&self) -> Option<&str>
Trait Implementations§
Source§impl Clone for DrmModeInfo
impl Clone for DrmModeInfo
Auto Trait Implementations§
impl Freeze for DrmModeInfo
impl RefUnwindSafe for DrmModeInfo
impl Send for DrmModeInfo
impl Sync for DrmModeInfo
impl Unpin for DrmModeInfo
impl UnsafeUnpin for DrmModeInfo
impl UnwindSafe for DrmModeInfo
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more