#[repr(C)]pub struct drmModeCrtc {
pub crtc_id: u32,
pub buffer_id: u32,
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
pub mode_valid: c_int,
pub mode: drmModeModeInfo,
pub gamma_size: c_int,
}Expand description
drmModeCrtc.
Fields§
§crtc_id: u32§buffer_id: u32FB id to connect to 0 = disconnect
x: u32Position on the framebuffer
y: u32§width: u32§height: u32§mode_valid: c_int§mode: drmModeModeInfo§gamma_size: c_intNumber of gamma stops
Trait Implementations§
Auto Trait Implementations§
impl Freeze for drmModeCrtc
impl RefUnwindSafe for drmModeCrtc
impl Send for drmModeCrtc
impl Sync for drmModeCrtc
impl Unpin for drmModeCrtc
impl UnsafeUnpin for drmModeCrtc
impl UnwindSafe for drmModeCrtc
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