#[non_exhaustive]pub struct PageFlipEvent {
pub crtc_id: u32,
pub sequence: u64,
pub timestamp: Timestamp,
}Expand description
A completed page flip.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.crtc_id: u32The CRTC whose flip completed.
sequence: u64The vblank sequence number.
timestamp: TimestampWhen the flip landed, on the monotonic timeline.
Trait Implementations§
Source§impl Clone for PageFlipEvent
impl Clone for PageFlipEvent
impl Copy for PageFlipEvent
Source§impl Debug for PageFlipEvent
impl Debug for PageFlipEvent
impl Eq for PageFlipEvent
Source§impl PartialEq for PageFlipEvent
impl PartialEq for PageFlipEvent
impl StructuralPartialEq for PageFlipEvent
Auto Trait Implementations§
impl Freeze for PageFlipEvent
impl RefUnwindSafe for PageFlipEvent
impl Send for PageFlipEvent
impl Sync for PageFlipEvent
impl Unpin for PageFlipEvent
impl UnsafeUnpin for PageFlipEvent
impl UnwindSafe for PageFlipEvent
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