pub enum AnimationKind {
Tween,
Spring,
Keyframe,
Timeline,
Group,
Custom,
}Expand description
High-level animation category reported to DevTools and inspectors.
Variants§
Tween
A tween from one value to another.
Spring
A damped spring animation.
Keyframe
A keyframe track.
Timeline
A composed timeline.
Group
A grouped animation.
Custom
A custom user animation.
Trait Implementations§
Source§impl Clone for AnimationKind
impl Clone for AnimationKind
Source§fn clone(&self) -> AnimationKind
fn clone(&self) -> AnimationKind
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 AnimationKind
Source§impl Debug for AnimationKind
impl Debug for AnimationKind
impl Eq for AnimationKind
Source§impl PartialEq for AnimationKind
impl PartialEq for AnimationKind
Source§fn eq(&self, other: &AnimationKind) -> bool
fn eq(&self, other: &AnimationKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnimationKind
Auto Trait Implementations§
impl Freeze for AnimationKind
impl RefUnwindSafe for AnimationKind
impl Send for AnimationKind
impl Sync for AnimationKind
impl Unpin for AnimationKind
impl UnsafeUnpin for AnimationKind
impl UnwindSafe for AnimationKind
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