Playerblock

Struct Playerblock 

Source
#[repr(C)]
pub struct Playerblock {
Show 41 fields pub state: c_int, pub ft_kind: c_int, pub type_: c_int, pub isTransformed: [u8_; 2], pub tagPos: Vec3, pub spawnPos: Vec3, pub respawnPos: Vec3, pub x34: c_int, pub x38: c_int, pub x3C: c_int, pub initialFacing: f32, pub costume: u8_, pub x45: u8_, pub tint: u8_, pub team: u8_, pub controller: u8_, pub cpuLv: u8_, pub cpuKind: u8_, pub handicap: u8_, pub x50: f32, pub attack: f32, pub defense: f32, pub scale: f32, pub damage: u16_, pub initialDamage: u16_, pub stamina: u16_, pub falls: [c_int; 2], pub ko: [c_int; 6], pub x88: c_int, pub selfDestructs: u16_, pub stocks: u8_, pub coins_curr: c_int, pub coins_total: c_int, pub x98: c_int, pub x9c: c_int, pub stickSmashes: [c_int; 2], pub tag: c_int, pub flags2: u8_, pub flags3: u8_, pub fighterData: *mut GOBJ, pub fighterDataSub: *mut GOBJ,
}
Expand description

Structs

Fields§

§state: c_int§ft_kind: c_int§type_: c_int§isTransformed: [u8_; 2]§tagPos: Vec3§spawnPos: Vec3§respawnPos: Vec3§x34: c_int§x38: c_int§x3C: c_int§initialFacing: f32§costume: u8_§x45: u8_§tint: u8_§team: u8_§controller: u8_§cpuLv: u8_§cpuKind: u8_§handicap: u8_§x50: f32§attack: f32§defense: f32§scale: f32§damage: u16_§initialDamage: u16_§stamina: u16_§falls: [c_int; 2]§ko: [c_int; 6]§x88: c_int§selfDestructs: u16_§stocks: u8_§coins_curr: c_int§coins_total: c_int§x98: c_int§x9c: c_int§stickSmashes: [c_int; 2]§tag: c_int§flags2: u8_§flags3: u8_§fighterData: *mut GOBJ§fighterDataSub: *mut GOBJ

Trait Implementations§

Source§

impl Clone for Playerblock

Source§

fn clone(&self) -> Playerblock

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Playerblock

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for Playerblock

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.