#[repr(i32)]pub enum PlaybackDirection {
Normal = 0,
Reverse = 1,
Alternate = 2,
AlternateReverse = 3,
}Expand description
Determines the playback direction of an animation.
Variants§
Normal = 0
The animation is played normally.
Reverse = 1
The animation is played in reverse direction.
Alternate = 2
The animation is played forwards first, then backwards.
AlternateReverse = 3
The animation is played backwards first, then forwards.
Trait Implementations§
Source§impl Clone for PlaybackDirection
impl Clone for PlaybackDirection
impl Copy for PlaybackDirection
Source§impl Debug for PlaybackDirection
impl Debug for PlaybackDirection
Source§impl Default for PlaybackDirection
impl Default for PlaybackDirection
impl Eq for PlaybackDirection
Source§impl Hash for PlaybackDirection
impl Hash for PlaybackDirection
Source§impl MarkupTyped for PlaybackDirection
impl MarkupTyped for PlaybackDirection
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for PlaybackDirection
impl PartialEq for PlaybackDirection
impl StructuralPartialEq for PlaybackDirection
Auto Trait Implementations§
impl Freeze for PlaybackDirection
impl RefUnwindSafe for PlaybackDirection
impl Send for PlaybackDirection
impl Sync for PlaybackDirection
impl Unpin for PlaybackDirection
impl UnsafeUnpin for PlaybackDirection
impl UnwindSafe for PlaybackDirection
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more