pub struct AnimationEvent {
pub time: f32,
pub name: String,
pub payload: String,
}Expand description
An event embedded in a clip that fires when playback crosses its timestamp.
Fields§
§time: f32Time in seconds within the clip when this event fires.
name: String§payload: StringImplementations§
Trait Implementations§
Source§impl Clone for AnimationEvent
impl Clone for AnimationEvent
Source§fn clone(&self) -> AnimationEvent
fn clone(&self) -> AnimationEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AnimationEvent
impl RefUnwindSafe for AnimationEvent
impl Send for AnimationEvent
impl Sync for AnimationEvent
impl Unpin for AnimationEvent
impl UnsafeUnpin 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