Enum drm::Event [] [src]

pub enum Event {
    Unknown,
    VBlank {
        seq: u32,
        tv: Instant,
        user: u64,
    },
    PageFlip {
        seq: u32,
        tv: Instant,
        user: u64,
    },
}

Event types read from device. Event's are sent only after a request vblank has been called or a page flip has been issued.

Warning: Instant values may be from the future. The driver appears to return when a VBlank will happen. Not when it did happen.

Variants

Event type unknown to this library.

Fields of VBlank

Fields of PageFlip

Trait Implementations

impl Debug for Event
[src]

Formats the value using the given formatter.

impl Copy for Event
[src]

impl Clone for Event
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Event
[src]

impl PartialEq for Event
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.