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
UnknownEvent type unknown to this library.
VBlankFields
seq: u32 | |
tv: Instant | |
user: u64 |
PageFlipFields
seq: u32 | |
tv: Instant | |
user: u64 |
Trait Implementations
impl Debug for Event[src]
impl Copy for Event[src]
impl Clone for Event[src]
fn clone(&self) -> Event
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more