pub struct VsyncEvent {
pub id: DisplayId,
pub timestamp: MonotonicInstant,
pub config: ConfigStamp,
}
Expand description
A vsync event payload.
Fields§
§id: DisplayId
The ID of the display that generated the vsync event.
timestamp: MonotonicInstant
The monotonic timestamp of the vsync event.
config: ConfigStamp
The stamp of the latest fully applied display configuration.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VsyncEvent
impl RefUnwindSafe for VsyncEvent
impl Send for VsyncEvent
impl Sync for VsyncEvent
impl Unpin for VsyncEvent
impl UnwindSafe for VsyncEvent
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