pub struct AnimationEvent {
pub time: f32,
pub tag: String,
pub payload: f32,
}Fields§
§time: f32Normalized time [0, 1] when this fires.
tag: StringArbitrary tag passed to event handlers.
payload: f32Trait 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