RstInit

Struct RstInit 

Source
#[repr(C)]
pub struct RstInit {
Show 29 fields pub x0: c_int, pub end_kind: u8_, pub x5: u8_, pub match_kind: u8_, pub match_frames: c_int, pub xc: u8_, pub winner_num: u8_, pub placings: [u8_; 4], pub x10: c_int, pub x14: c_int, pub x18: c_int, pub x1c: c_int, pub x20: u8_, pub x21: u8_, pub x22: u8_, pub x23: u8_, pub x24: c_int, pub x28: c_int, pub x2c: c_int, pub x30: c_int, pub x34: c_int, pub x38: c_int, pub x3c: c_int, pub x40: c_int, pub x44: c_int, pub x48: c_int, pub x4c: c_int, pub x50: c_int, pub players: [RstPlayer; 6],
}

Fields§

§x0: c_int§end_kind: u8_§x5: u8_§match_kind: u8_§match_frames: c_int§xc: u8_§winner_num: u8_§placings: [u8_; 4]§x10: c_int§x14: c_int§x18: c_int§x1c: c_int§x20: u8_§x21: u8_§x22: u8_§x23: u8_§x24: c_int§x28: c_int§x2c: c_int§x30: c_int§x34: c_int§x38: c_int§x3c: c_int§x40: c_int§x44: c_int§x48: c_int§x4c: c_int§x50: c_int§players: [RstPlayer; 6]

Trait Implementations§

Source§

impl Clone for RstInit

Source§

fn clone(&self) -> RstInit

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 RstInit

Source§

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

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

impl Copy for RstInit

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.