pub struct AnimationCompleted {
pub clip: Arc<AnimationClip>,
}Expand description
A one-shot completion returned exactly once by AnimationPlayer::advance.
Can be sent to crate::events::Events; retains the completed clip even
if the player immediately switches to another clip.
Fields§
§clip: Arc<AnimationClip>Immutable clip that reached its end.
Trait Implementations§
Source§impl Clone for AnimationCompleted
impl Clone for AnimationCompleted
Auto Trait Implementations§
impl Freeze for AnimationCompleted
impl RefUnwindSafe for AnimationCompleted
impl Send for AnimationCompleted
impl Sync for AnimationCompleted
impl Unpin for AnimationCompleted
impl UnsafeUnpin for AnimationCompleted
impl UnwindSafe for AnimationCompleted
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