#[non_exhaustive]pub enum Animation {
}Expand description
A value of 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.
Alternate
alternate.
AlternateReverse
alternate-reverse.
Auto
auto.
Backwards
backwards.
Both
both.
Ease
ease.
EaseIn
ease-in.
EaseInOut
ease-in-out.
EaseOut
ease-out.
Forwards
forwards.
Infinite
infinite.
Linear
linear.
None
none.
Normal
normal.
Paused
paused.
Reverse
reverse.
Running
running.
StepEnd
step-end.
StepStart
step-start.
Number(f64)
A number.
Time(Time)
A duration.
Quoted(Quoted)
A quoted string.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
impl StructuralPartialEq for Animation
Auto Trait Implementations§
impl Freeze for Animation
impl RefUnwindSafe for Animation
impl Send for Animation
impl Sync for Animation
impl Unpin for Animation
impl UnsafeUnpin for Animation
impl UnwindSafe for Animation
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