pub struct DrmCrtc {
pub crtc_id: u32,
pub fb_id: Option<u32>,
pub mode: Option<DisplayMode>,
pub active: bool,
pub gamma_size: u32,
}Expand description
CRTC (CRT Controller) – drives a scanout engine
Fields§
§crtc_id: u32§fb_id: Option<u32>Currently active framebuffer
mode: Option<DisplayMode>Current display mode
active: boolWhether this CRTC is active
gamma_size: u32Gamma table size
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DrmCrtc
impl RefUnwindSafe for DrmCrtc
impl Send for DrmCrtc
impl Sync for DrmCrtc
impl Unpin for DrmCrtc
impl UnwindSafe for DrmCrtc
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)