#[repr(C)]
pub struct MiiSelectorConf {
Show 13 fields pub enable_cancel_button: u8_, pub enable_selecting_guests: u8_, pub show_on_top_screen: u8_, pub _unk0x3: [u8_; 5], pub title: [u16_; 64], pub _unk0x88: [u8_; 4], pub show_guest_page: u8_, pub _unk0x8D: [u8_; 3], pub initial_index: u32_, pub mii_guest_whitelist: [u8_; 6], pub mii_whitelist: [u8_; 100], pub _unk0xFE: u16_, pub magic: u32_,
}
Expand description

Parameter structure passed to AppletEd

Fields§

§enable_cancel_button: u8_

< Enables canceling of selection if nonzero.

§enable_selecting_guests: u8_

< Makes Guets Miis selectable if nonzero.

§show_on_top_screen: u8_

< Shows applet on top screen if nonzero, < otherwise show it on the bottom screen.

§_unk0x3: [u8_; 5]

<

§title: [u16_; 64]

< UTF16-LE string displayed at the top of the applet. If < set to the empty string, a default title is displayed.

§_unk0x88: [u8_; 4]

<

§show_guest_page: u8_

< If nonzero, the applet shows a page with Guest < Miis on launch.

§_unk0x8D: [u8_; 3]

<

§initial_index: u32_

< Index of the initially selected Mii. If < MiiSelectorConf.show_guest_page is < set, this is the index of a Guest Mii, < otherwise that of a user Mii.

§mii_guest_whitelist: [u8_; 6]

< Each byte set to a nonzero value < enables its corresponding Guest < Mii to be enabled for selection.

§mii_whitelist: [u8_; 100]

< Each byte set to a nonzero value enables < its corresponding user Mii to be enabled < for selection.

§_unk0xFE: u16_

<

§magic: u32_

< Will be set to MIISELECTOR_MAGIC before launching the < applet.

Trait Implementations§

source§

impl Clone for MiiSelectorConf

source§

fn clone(&self) -> MiiSelectorConf

Returns a copy 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 MiiSelectorConf

source§

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

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

impl Default for MiiSelectorConf

source§

fn default() -> Self

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

impl Copy for MiiSelectorConf

Auto Trait Implementations§

§

impl RefUnwindSafe for MiiSelectorConf

§

impl Send for MiiSelectorConf

§

impl Sync for MiiSelectorConf

§

impl Unpin for MiiSelectorConf

§

impl UnwindSafe for MiiSelectorConf

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> 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.