Struct drm_sys::drm_mode_crtc
source · #[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: drm_mode_modeinfo,
}
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: drm_mode_modeinfo
Trait Implementations§
source§impl Clone for drm_mode_crtc
impl Clone for drm_mode_crtc
source§fn clone(&self) -> drm_mode_crtc
fn clone(&self) -> drm_mode_crtc
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_crtc
impl Debug for drm_mode_crtc
source§impl Default for drm_mode_crtc
impl Default for drm_mode_crtc
source§fn default() -> drm_mode_crtc
fn default() -> drm_mode_crtc
Returns the “default value” for a type. Read more
source§impl Hash for drm_mode_crtc
impl Hash for drm_mode_crtc
source§impl PartialEq for drm_mode_crtc
impl PartialEq for drm_mode_crtc
impl Copy for drm_mode_crtc
impl Eq for drm_mode_crtc
impl StructuralPartialEq 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 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> 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
)