#[non_exhaustive]#[repr(u64)]pub enum DeviceCap {
Show 14 variants
DumbBuffer = 1,
VBlankHighCrtc = 2,
DumbPreferredDepth = 3,
DumbPreferShadow = 4,
Prime = 5,
TimestampMonotonic = 6,
AsyncPageFlip = 7,
CursorWidth = 8,
CursorHeight = 9,
Addfb2Modifiers = 16,
PageFlipTarget = 17,
CrtcInVblankEvent = 18,
Syncobj = 19,
SyncobjTimeline = 20,
}
Expand description
Enumeration of DRM device capabilities.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DumbBuffer = 1
VBlankHighCrtc = 2
DumbPreferredDepth = 3
DumbPreferShadow = 4
Prime = 5
TimestampMonotonic = 6
AsyncPageFlip = 7
CursorWidth = 8
CursorHeight = 9
Addfb2Modifiers = 16
PageFlipTarget = 17
CrtcInVblankEvent = 18
Syncobj = 19
SyncobjTimeline = 20
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeviceCap
impl RefUnwindSafe for DeviceCap
impl Send for DeviceCap
impl Sync for DeviceCap
impl Unpin for DeviceCap
impl UnwindSafe for DeviceCap
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