pub enum AnimationEvent {
OnSegmentDone,
OnStart,
OnComplete,
}Expand description
Lists all events a Animation can emit/listen.
Variants§
OnSegmentDone
Triggered when the animation starts.
OnStart
Triggered when the animation starts.
OnComplete
Triggered when the animation finishes.
Trait Implementations§
Source§impl From<AnimationEvent> for String
Convert events to string to facilitate usage with EventManager.
impl From<AnimationEvent> for String
Convert events to string to facilitate usage with EventManager.
Source§fn from(event: AnimationEvent) -> Self
fn from(event: AnimationEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AnimationEvent
impl RefUnwindSafe for AnimationEvent
impl Send for AnimationEvent
impl Sync for AnimationEvent
impl Unpin for AnimationEvent
impl UnwindSafe for AnimationEvent
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