Struct ctru::applets::mii_selector::Selection
source · #[non_exhaustive]pub struct Selection {
pub mii_data: Mii,
pub mii_type: MiiType,
}
Expand description
Return value of a successful MiiSelector::launch()
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.mii_data: Mii
Data of the selected Mii.
mii_type: MiiType
Type of the selected Mii.
Trait Implementations§
source§impl From<MiiSelectorReturn> for Selection
impl From<MiiSelectorReturn> for Selection
source§fn from(ret: MiiSelectorReturn) -> Self
fn from(ret: MiiSelectorReturn) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Selection
impl Send for Selection
impl Sync for Selection
impl Unpin for Selection
impl UnwindSafe for Selection
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more