Struct AnimationEvent
#[repr(C)]pub struct AnimationEvent {
pub event_id: u32,
pub time: f32,
pub payload: f32,
}Expand description
Discrete event marker embedded in an AnimationClip timeline.
Fields§
§event_id: u32§time: f32§payload: f32Trait Implementations§
§impl Clone for AnimationEvent
impl Clone for AnimationEvent
§fn clone(&self) -> AnimationEvent
fn clone(&self) -> AnimationEvent
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 AnimationEvent
§impl Debug for AnimationEvent
impl Debug for AnimationEvent
§impl Default for AnimationEvent
impl Default for AnimationEvent
§fn default() -> AnimationEvent
fn default() -> AnimationEvent
Returns the “default value” for a type. Read more
§impl PartialEq for AnimationEvent
impl PartialEq for AnimationEvent
impl StructuralPartialEq for AnimationEvent
Auto 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