#[repr(C)]pub struct AnimationData {
pub delta: f32,
pub loop: bool,
pub lock_x: bool,
pub lock_y: bool,
pub freeze: bool,
pub time: u32,
pub lib: HybridString<16>,
pub name: HybridString<24>,
}Expand description
AnimationData in anim.hpp.
The C++ side copies it with a constructor, so it travels by
reference only: build one here and pass &, or read the server’s.
Fields§
§delta: f32delta.
loop: boolloop.
lock_x: boollockX.
lock_y: boollockY.
freeze: boolfreeze.
time: u32time.
lib: HybridString<16>lib.
name: HybridString<24>name.
Auto Trait Implementations§
impl !Send for AnimationData
impl !Sync for AnimationData
impl Freeze for AnimationData
impl RefUnwindSafe for AnimationData
impl Unpin for AnimationData
impl UnsafeUnpin for AnimationData
impl UnwindSafe for AnimationData
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