pub struct VblankEvent {
pub frame: u32,
pub time: Duration,
pub crtc: Handle,
pub user_data: usize,
}
Expand description
Vblank event
Fields§
§frame: u32
sequence of the frame
time: Duration
time at which the vblank occurred
crtc: Handle
crtc that did throw the event
user_data: usize
user data that was passed to wait_vblank
Auto Trait Implementations§
impl Freeze for VblankEvent
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