pub struct drmModeProperty { /* private fields */ }Implementations§
Source§impl drmModeProperty
impl drmModeProperty
pub fn get(fd: i32, property_id: u32) -> Option<drmModeProperty>
pub fn name(&self) -> String
pub fn prop_id(&self) -> u32
pub fn flags(&self) -> u32
pub fn property_type(&self) -> drmModePropType
pub fn is_atomic(&self) -> bool
pub fn is_pending(&self) -> bool
pub fn is_immutable(&self) -> bool
pub fn values(&self) -> Vec<u64>
pub fn blob_ids(&self) -> Vec<u32>
pub fn enums(&self) -> Vec<drm_mode_property_enum>
Trait Implementations§
Source§impl Clone for drmModeProperty
impl Clone for drmModeProperty
Source§fn clone(&self) -> drmModeProperty
fn clone(&self) -> drmModeProperty
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for drmModeProperty
impl RefUnwindSafe for drmModeProperty
impl !Send for drmModeProperty
impl !Sync for drmModeProperty
impl Unpin for drmModeProperty
impl UnwindSafe for drmModeProperty
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