pub enum VblankWaitTarget {
Absolute(u32),
Relative(u32),
}
Expand description
Used to specify a vblank sequence to wait for
Variants§
Absolute(u32)
Wait for a specific vblank sequence number
Relative(u32)
Wait for a given number of vblanks
Trait Implementations§
source§impl Clone for VblankWaitTarget
impl Clone for VblankWaitTarget
source§fn clone(&self) -> VblankWaitTarget
fn clone(&self) -> VblankWaitTarget
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 VblankWaitTarget
impl Debug for VblankWaitTarget
source§impl Hash for VblankWaitTarget
impl Hash for VblankWaitTarget
source§impl PartialEq for VblankWaitTarget
impl PartialEq for VblankWaitTarget
impl Copy for VblankWaitTarget
impl Eq for VblankWaitTarget
impl StructuralPartialEq for VblankWaitTarget
Auto Trait Implementations§
impl Freeze for VblankWaitTarget
impl RefUnwindSafe for VblankWaitTarget
impl Send for VblankWaitTarget
impl Sync for VblankWaitTarget
impl Unpin for VblankWaitTarget
impl UnwindSafe for VblankWaitTarget
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
)