pub enum PageFlipTarget {
Absolute(u32),
Relative(u32),
}
Expand description
Target to alter the sequence of page flips
These represent the ffi::drm_sys::DRM_MODE_PAGE_FLIP_TARGET
bits
of PageFlipFlags
wrapped in a regular enum
due to their
mutual-exclusiveness.
Variants§
Absolute(u32)
Absolute Vblank Sequence
Relative(u32)
Relative Vblank Sequence (to the current, when calling)
Trait Implementations§
source§impl Clone for PageFlipTarget
impl Clone for PageFlipTarget
source§fn clone(&self) -> PageFlipTarget
fn clone(&self) -> PageFlipTarget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PageFlipTarget
impl Debug for PageFlipTarget
source§impl Hash for PageFlipTarget
impl Hash for PageFlipTarget
source§impl PartialEq for PageFlipTarget
impl PartialEq for PageFlipTarget
impl Copy for PageFlipTarget
impl Eq for PageFlipTarget
impl StructuralPartialEq for PageFlipTarget
Auto Trait Implementations§
impl Freeze for PageFlipTarget
impl RefUnwindSafe for PageFlipTarget
impl Send for PageFlipTarget
impl Sync for PageFlipTarget
impl Unpin for PageFlipTarget
impl UnwindSafe for PageFlipTarget
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)