Struct drm::control::VblankEvent
source · pub struct VblankEvent {
pub frame: u32,
pub time: Duration,
pub crtc: Handle,
pub user_data: usize,
}Expand description
Vblank event
Fields§
§frame: u32sequence of the frame
time: Durationtime at which the vblank occurred
crtc: Handlecrtc that did throw the event
user_data: usizeuser data that was passed to wait_vblank
Auto Trait Implementations§
impl RefUnwindSafe for VblankEvent
impl Send for VblankEvent
impl Sync for VblankEvent
impl Unpin for VblankEvent
impl UnwindSafe for VblankEvent
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