#[repr(C)]pub struct RawCustomAnimationData {
pub animation_id: u32,
pub dt: f32,
pub elapsed_seconds: f32,
}Expand description
Raw C-layout struct for the custom_animate WASM export’s input.
This matches the CustomAnimationFrameData struct written by the host.
Fields§
§animation_id: u32§dt: f32§elapsed_seconds: f32Auto Trait Implementations§
impl Freeze for RawCustomAnimationData
impl RefUnwindSafe for RawCustomAnimationData
impl Send for RawCustomAnimationData
impl Sync for RawCustomAnimationData
impl Unpin for RawCustomAnimationData
impl UnsafeUnpin for RawCustomAnimationData
impl UnwindSafe for RawCustomAnimationData
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