RstPlayer

Struct RstPlayer 

Source
#[repr(C)]
pub struct RstPlayer {
Show 52 fields pub type_: u8_, pub ext_id: u8_, pub kind: u8_, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>, pub nametag: u8_, pub x5: u8_, pub x6: u8_, pub team: u8_, pub stock_num: u8_, pub hp: u8_, pub sd_num: u8_, pub fall_num: u8_, pub dmg_num: u16_, pub xe: u16_, pub x10: c_int, pub x14: c_int, pub x18: c_int, pub coins: c_int, pub x20: c_int, pub x24: c_int, pub frames_alive: c_int, pub x2c: c_int, pub x30: c_int, pub x34: c_int, pub hits_landed: c_int, pub attack_num: c_int, pub x40: c_int, pub x44: c_int, pub x48: c_int, pub x4c: c_int, pub x50: c_int, pub x54: c_int, pub x58: c_int, pub x5c: c_int, pub x60: c_int, pub x64: c_int, pub x68: c_int, pub x6c: c_int, pub x70: c_int, pub x74: c_int, pub x78: c_int, pub x7c: c_int, pub x80: c_int, pub x84: c_int, pub x88: c_int, pub ledgegrab_num: c_int, pub x90: c_int, pub x94: c_int, pub x98: c_int, pub x9c: c_int, pub xa0: c_int, pub xa4: c_int,
}

Fields§

§type_: u8_§ext_id: u8_§kind: u8_§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>§nametag: u8_§x5: u8_§x6: u8_§team: u8_§stock_num: u8_§hp: u8_§sd_num: u8_§fall_num: u8_§dmg_num: u16_§xe: u16_§x10: c_int§x14: c_int§x18: c_int§coins: c_int§x20: c_int§x24: c_int§frames_alive: c_int§x2c: c_int§x30: c_int§x34: c_int§hits_landed: c_int§attack_num: c_int§x40: c_int§x44: c_int§x48: c_int§x4c: c_int§x50: c_int§x54: c_int§x58: c_int§x5c: c_int§x60: c_int§x64: c_int§x68: c_int§x6c: c_int§x70: c_int§x74: c_int§x78: c_int§x7c: c_int§x80: c_int§x84: c_int§x88: c_int§ledgegrab_num: c_int§x90: c_int§x94: c_int§x98: c_int§x9c: c_int§xa0: c_int§xa4: c_int

Implementations§

Source§

impl RstPlayer

Source

pub fn costume(&self) -> u8_

Source

pub fn set_costume(&mut self, val: u8_)

Source

pub fn is_rumble(&self) -> u8_

Source

pub fn set_is_rumble(&mut self, val: u8_)

Source

pub fn is_stamina(&self) -> u8_

Source

pub fn set_is_stamina(&mut self, val: u8_)

Source

pub fn new_bitfield_1( costume: u8_, is_rumble: u8_, is_stamina: u8_, ) -> __BindgenBitfieldUnit<[u8; 1], u8>

Trait Implementations§

Source§

impl Clone for RstPlayer

Source§

fn clone(&self) -> RstPlayer

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 RstPlayer

Source§

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

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

impl Copy for RstPlayer

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.