#[repr(C)]pub struct PlayerAnimationData {
pub id: u16,
pub flags: u16,
}Expand description
Animation Data Of Player
Fields§
§id: u16§flags: u16Animation flags FREEZE_FLAG -> 0b0000000000000100 LOCK_X_FLAG -> 0b0010000000000 LOCK_Y_FLAG -> 0b0001000000000 LOOP_FLAG -> 0b0000100000000
Trait Implementations§
Source§impl Clone for PlayerAnimationData
impl Clone for PlayerAnimationData
Source§fn clone(&self) -> PlayerAnimationData
fn clone(&self) -> PlayerAnimationData
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 moreSource§impl Debug for PlayerAnimationData
impl Debug for PlayerAnimationData
Source§impl PartialEq for PlayerAnimationData
impl PartialEq for PlayerAnimationData
impl Copy for PlayerAnimationData
impl StructuralPartialEq for PlayerAnimationData
Auto Trait Implementations§
impl Freeze for PlayerAnimationData
impl RefUnwindSafe for PlayerAnimationData
impl Send for PlayerAnimationData
impl Sync for PlayerAnimationData
impl Unpin for PlayerAnimationData
impl UnwindSafe for PlayerAnimationData
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