Struct MiiData

Source
#[repr(C, packed(1))]
pub struct MiiData {
Show 25 fields pub version: u8_, pub mii_options: MiiData__bindgen_ty_1, pub mii_pos: MiiData__bindgen_ty_2, pub console_identity: MiiData__bindgen_ty_3, pub system_id: u64_, pub mii_id: u32_, pub mac: [u8_; 6], pub pad: [u8_; 2], pub mii_details: MiiData__bindgen_ty_4, pub mii_name: [u16_; 10], pub height: u8_, pub width: u8_, pub face_style: MiiData__bindgen_ty_5, pub face_details: MiiData__bindgen_ty_6, pub hair_style: u8_, pub hair_details: MiiData__bindgen_ty_7, pub eye_details: MiiData__bindgen_ty_8, pub eyebrow_details: MiiData__bindgen_ty_9, pub nose_details: MiiData__bindgen_ty_10, pub mouth_details: MiiData__bindgen_ty_11, pub mustache_details: MiiData__bindgen_ty_12, pub beard_details: MiiData__bindgen_ty_13, pub glasses_details: MiiData__bindgen_ty_14, pub mole_details: MiiData__bindgen_ty_15, pub author_name: [u16_; 10],
}
Expand description

Shared Base Mii struct

Fields§

§version: u8_

< Always 3

§mii_options: MiiData__bindgen_ty_1§mii_pos: MiiData__bindgen_ty_2§console_identity: MiiData__bindgen_ty_3§system_id: u64_

< Identifies the system that the Mii was created on (Determines pants)

§mii_id: u32_

< ID of Mii

§mac: [u8_; 6]

< Creator’s system’s full MAC address

§pad: [u8_; 2]

< Padding

§mii_details: MiiData__bindgen_ty_4§mii_name: [u16_; 10]

< Name of Mii (Encoded using UTF16)

§height: u8_

< How tall the Mii is

§width: u8_

< How wide the Mii is

§face_style: MiiData__bindgen_ty_5§face_details: MiiData__bindgen_ty_6§hair_style: u8_§hair_details: MiiData__bindgen_ty_7§eye_details: MiiData__bindgen_ty_8§eyebrow_details: MiiData__bindgen_ty_9§nose_details: MiiData__bindgen_ty_10§mouth_details: MiiData__bindgen_ty_11§mustache_details: MiiData__bindgen_ty_12§beard_details: MiiData__bindgen_ty_13§glasses_details: MiiData__bindgen_ty_14§mole_details: MiiData__bindgen_ty_15§author_name: [u16_; 10]

< Name of Mii’s author (Encoded using UTF16)

Trait Implementations§

Source§

impl Clone for MiiData

Source§

fn clone(&self) -> MiiData

Returns a duplicate of the value. Read more
1.0.0§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for MiiData

Source§

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

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

impl Default for MiiData

Source§

fn default() -> MiiData

Returns the “default value” for a type. Read more
Source§

impl Copy for MiiData

Auto Trait Implementations§

§

impl Freeze for MiiData

§

impl RefUnwindSafe for MiiData

§

impl Send for MiiData

§

impl Sync for MiiData

§

impl Unpin for MiiData

§

impl UnwindSafe for MiiData

Blanket Implementations§

§

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

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

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

§

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

Mutably borrows from an owned value. Read more
§

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

§

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
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

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

§

fn into(self) -> U

Calls U::from(self).

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

§

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

§

type Error = Infallible

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

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

Performs the conversion.
§

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

§

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

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

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

Performs the conversion.