#[repr(C)]pub struct DrmModeCardRes {
pub min_width: u32,
pub max_width: u32,
pub min_height: u32,
pub max_height: u32,
/* private fields */
}
Fields§
§min_width: u32
§max_width: u32
§min_height: u32
§max_height: u32
Implementations§
Source§impl DrmModeCardRes
impl DrmModeCardRes
pub unsafe fn set_fb_id_ptr(&mut self, ptr: *mut u32, len: u32)
pub fn clear_fb_id_ptr(&mut self)
pub fn count_fbs(&mut self) -> u32
pub unsafe fn set_crtc_id_ptr(&mut self, ptr: *mut u32, len: u32)
pub fn clear_crtc_id_ptr(&mut self)
pub fn count_crtcs(&mut self) -> u32
pub unsafe fn set_connector_id_ptr(&mut self, ptr: *mut u32, len: u32)
pub fn clear_connector_id_ptr(&mut self)
pub fn count_connectors(&mut self) -> u32
pub unsafe fn set_encoder_id_ptr(&mut self, ptr: *mut u32, len: u32)
pub fn clear_encoder_id_ptr(&mut self)
pub fn count_encoders(&mut self) -> u32
Trait Implementations§
Source§impl Debug for DrmModeCardRes
impl Debug for DrmModeCardRes
Source§impl Default for DrmModeCardRes
The default value is the result of Self::zeroed
.
impl Default for DrmModeCardRes
The default value is the result of Self::zeroed
.
Auto Trait Implementations§
impl Freeze for DrmModeCardRes
impl RefUnwindSafe for DrmModeCardRes
impl Send for DrmModeCardRes
impl Sync for DrmModeCardRes
impl Unpin for DrmModeCardRes
impl UnwindSafe for DrmModeCardRes
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