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
source§fn eq(&self, other: &drm_mode_crtc) -> bool
fn eq(&self, other: &drm_mode_crtc) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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