Enum drm::DriverCapability[][src]

#[repr(u64)]
pub enum DriverCapability {
Show variants DumbBuffer, VBlankHighCRTC, DumbPreferredDepth, DumbPreferShadow, Prime, MonotonicTimestamp, ASyncPageFlip, CursorWidth, CursorHeight, AddFB2Modifiers, PageFlipTarget, CRTCInVBlankEvent, SyncObj,
}

Used to check which capabilities your graphics driver has.

Variants

DumbBuffer

DumbBuffer support for scanout

VBlankHighCRTC

Unknown

DumbPreferredDepth

Preferred depth to use for dumb buffers

DumbPreferShadow

Unknown

Prime

PRIME handles are supported

MonotonicTimestamp

Unknown

ASyncPageFlip

Asynchronous page flipping support

CursorWidth

Width of cursor buffers

CursorHeight

Height of cursor buffers

AddFB2Modifiers

Create framebuffers with modifiers

PageFlipTarget

Unknown

CRTCInVBlankEvent

Uses the CRTC’s ID in vblank events

SyncObj

SyncObj support

Trait Implementations

impl Clone for DriverCapability[src]

impl Copy for DriverCapability[src]

impl Debug for DriverCapability[src]

impl Eq for DriverCapability[src]

impl Hash for DriverCapability[src]

impl PartialEq<DriverCapability> for DriverCapability[src]

impl StructuralEq for DriverCapability[src]

impl StructuralPartialEq for DriverCapability[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.