Struct nx::ipc::sf::mii::CharInfo

source · []
#[repr(C)]
pub struct CharInfo {
Show 52 fields pub id: CreateId, pub name: CString16<11>, pub font_region: FontRegion, pub favorite_color: u8, pub gender: Gender, pub height: u8, pub build: u8, pub type_val: u8, pub region_move: u8, pub faceline_type: FacelineType, pub faceline_color: FacelineColor, pub faceline_wrinkle: FacelineWrinkle, pub faceline_make: FacelineMake, pub hair_type: HairType, pub hair_color: CommonColor, pub hair_flip: HairFlip, pub eye_type: EyeType, pub eye_color: CommonColor, pub eye_scale: u8, pub eye_aspect: u8, pub eye_rotate: u8, pub eye_x: u8, pub eye_y: u8, pub eyebrow_type: EyebrowType, pub eyebrow_color: CommonColor, pub eyebrow_scale: u8, pub eyebrow_aspect: u8, pub eyebrow_rotate: u8, pub eyebrow_x: u8, pub eyebrow_y: u8, pub nose_type: NoseType, pub nose_scale: u8, pub nose_y: u8, pub mouth_type: MouthType, pub mouth_color: CommonColor, pub mouth_scale: u8, pub mouth_aspect: u8, pub mouth_y: u8, pub beard_color: CommonColor, pub beard_type: BeardType, pub mustache_type: MustacheType, pub mustache_scale: u8, pub mustache_y: u8, pub glass_type: GlassType, pub glass_color: CommonColor, pub glass_scale: u8, pub glass_y: u8, pub mole_type: MoleType, pub mole_scale: u8, pub mole_x: u8, pub mole_y: u8, pub reserved: u8,
}

Fields

id: CreateIdname: CString16<11>font_region: FontRegionfavorite_color: u8gender: Genderheight: u8build: u8type_val: u8region_move: u8faceline_type: FacelineTypefaceline_color: FacelineColorfaceline_wrinkle: FacelineWrinklefaceline_make: FacelineMakehair_type: HairTypehair_color: CommonColorhair_flip: HairFlipeye_type: EyeTypeeye_color: CommonColoreye_scale: u8eye_aspect: u8eye_rotate: u8eye_x: u8eye_y: u8eyebrow_type: EyebrowTypeeyebrow_color: CommonColoreyebrow_scale: u8eyebrow_aspect: u8eyebrow_rotate: u8eyebrow_x: u8eyebrow_y: u8nose_type: NoseTypenose_scale: u8nose_y: u8mouth_type: MouthTypemouth_color: CommonColormouth_scale: u8mouth_aspect: u8mouth_y: u8beard_color: CommonColorbeard_type: BeardTypemustache_type: MustacheTypemustache_scale: u8mustache_y: u8glass_type: GlassTypeglass_color: CommonColorglass_scale: u8glass_y: u8mole_type: MoleTypemole_scale: u8mole_x: u8mole_y: u8reserved: u8

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.