Struct drm_sys::drm_mode_modeinfo
source · #[repr(C)]pub struct drm_mode_modeinfo {Show 15 fields
pub clock: __u32,
pub hdisplay: __u16,
pub hsync_start: __u16,
pub hsync_end: __u16,
pub htotal: __u16,
pub hskew: __u16,
pub vdisplay: __u16,
pub vsync_start: __u16,
pub vsync_end: __u16,
pub vtotal: __u16,
pub vscan: __u16,
pub vrefresh: __u32,
pub flags: __u32,
pub type_: __u32,
pub name: [c_char; 32],
}
Fields§
§clock: __u32
§hdisplay: __u16
§hsync_start: __u16
§hsync_end: __u16
§htotal: __u16
§hskew: __u16
§vdisplay: __u16
§vsync_start: __u16
§vsync_end: __u16
§vtotal: __u16
§vscan: __u16
§vrefresh: __u32
§flags: __u32
§type_: __u32
§name: [c_char; 32]
Trait Implementations§
source§impl Clone for drm_mode_modeinfo
impl Clone for drm_mode_modeinfo
source§fn clone(&self) -> drm_mode_modeinfo
fn clone(&self) -> drm_mode_modeinfo
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 drm_mode_modeinfo
impl Debug for drm_mode_modeinfo
source§impl Default for drm_mode_modeinfo
impl Default for drm_mode_modeinfo
source§fn default() -> drm_mode_modeinfo
fn default() -> drm_mode_modeinfo
Returns the “default value” for a type. Read more
source§impl Hash for drm_mode_modeinfo
impl Hash for drm_mode_modeinfo
source§impl PartialEq for drm_mode_modeinfo
impl PartialEq for drm_mode_modeinfo
impl Copy for drm_mode_modeinfo
impl Eq for drm_mode_modeinfo
impl StructuralPartialEq for drm_mode_modeinfo
Auto Trait Implementations§
impl Freeze for drm_mode_modeinfo
impl RefUnwindSafe for drm_mode_modeinfo
impl Send for drm_mode_modeinfo
impl Sync for drm_mode_modeinfo
impl Unpin for drm_mode_modeinfo
impl UnwindSafe for drm_mode_modeinfo
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)