#[repr(C)]pub struct drm_mode_crtc {
pub set_connectors_ptr: u64,
pub count_connectors: u32,
pub crtc_id: u32,
pub fb_id: u32,
pub x: u32,
pub y: u32,
pub gamma_size: u32,
pub mode_valid: u32,
pub mode: [u8; 68],
}Expand description
struct drm_mode_crtc of the kernel (drm_mode.h).
Fields§
§set_connectors_ptr: u64§count_connectors: u32§crtc_id: u32§fb_id: u32§x: u32§y: u32§gamma_size: u32§mode_valid: u32§mode: [u8; 68]struct drm_mode_modeinfo, the same 68 bytes as drmModeModeInfo.
Trait Implementations§
Source§impl Clone for drm_mode_crtc
impl Clone for drm_mode_crtc
impl Copy for drm_mode_crtc
Auto Trait Implementations§
impl Freeze for drm_mode_crtc
impl RefUnwindSafe for drm_mode_crtc
impl Send for drm_mode_crtc
impl Sync for drm_mode_crtc
impl Unpin for drm_mode_crtc
impl UnsafeUnpin for drm_mode_crtc
impl UnwindSafe for drm_mode_crtc
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