#[non_exhaustive]#[repr(u32)]pub enum AnimationDirection {
Normal = 0,
Reverse = 1,
Alternate = 2,
AlternateReverse = 3,
}Expand description
This enum describes the direction of an animation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for AnimationDirection
impl Clone for AnimationDirection
Source§fn clone(&self) -> AnimationDirection
fn clone(&self) -> AnimationDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AnimationDirection
Source§impl Debug for AnimationDirection
impl Debug for AnimationDirection
Source§impl Default for AnimationDirection
impl Default for AnimationDirection
Source§impl Display for AnimationDirection
impl Display for AnimationDirection
impl Eq for AnimationDirection
Source§impl FromStr for AnimationDirection
impl FromStr for AnimationDirection
Source§impl Hash for AnimationDirection
impl Hash for AnimationDirection
Source§impl PartialEq for AnimationDirection
impl PartialEq for AnimationDirection
Source§fn eq(&self, other: &AnimationDirection) -> bool
fn eq(&self, other: &AnimationDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnimationDirection
Auto Trait Implementations§
impl Freeze for AnimationDirection
impl RefUnwindSafe for AnimationDirection
impl Send for AnimationDirection
impl Sync for AnimationDirection
impl Unpin for AnimationDirection
impl UnsafeUnpin for AnimationDirection
impl UnwindSafe for AnimationDirection
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
impl<T> Brush for T
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.impl<T> ErasedDestructor for Twhere
T: 'static,
Converts the given value to a
SharedString.