pub enum AnimationStopBehavior {
LeaveCurrentValue,
SetToInitialValue,
SetToFinalValue,
}Expand description
Specifies the behavior of an animation when it stops.
Variants§
LeaveCurrentValue
Leave the animation at its current value.
SetToInitialValue
Reset the animation to its initial value.
SetToFinalValue
Set the animation to its final value.
Trait Implementations§
Source§impl Clone for AnimationStopBehavior
impl Clone for AnimationStopBehavior
impl Copy for AnimationStopBehavior
Source§impl Debug for AnimationStopBehavior
impl Debug for AnimationStopBehavior
Source§impl Default for AnimationStopBehavior
impl Default for AnimationStopBehavior
impl Eq for AnimationStopBehavior
Source§impl Hash for AnimationStopBehavior
impl Hash for AnimationStopBehavior
Source§impl PartialEq for AnimationStopBehavior
impl PartialEq for AnimationStopBehavior
impl StructuralPartialEq for AnimationStopBehavior
Auto Trait Implementations§
impl Freeze for AnimationStopBehavior
impl RefUnwindSafe for AnimationStopBehavior
impl Send for AnimationStopBehavior
impl Sync for AnimationStopBehavior
impl Unpin for AnimationStopBehavior
impl UnsafeUnpin for AnimationStopBehavior
impl UnwindSafe for AnimationStopBehavior
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