pub enum TickClass {
CosmeticLoop,
Transition,
}Expand description
The class of a paint-time frame request: must it land on the next vsync, or
may the frame gate pace it? Any Transition makes the frame unpaced.
Variants§
CosmeticLoop
A pacable decorative loop (shimmer, pulse), paced only when alone.
Transition
User-visible motion that must run every vsync; the dominant class.
Trait Implementations§
impl Copy for TickClass
impl Eq for TickClass
impl StructuralPartialEq for TickClass
Auto Trait Implementations§
impl Freeze for TickClass
impl RefUnwindSafe for TickClass
impl Send for TickClass
impl Sync for TickClass
impl Unpin for TickClass
impl UnsafeUnpin for TickClass
impl UnwindSafe for TickClass
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.