Struct ctru_sys::MiiData__bindgen_ty_4
source · #[repr(C, align(2))]pub struct MiiData__bindgen_ty_4 {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
}
Expand description
Mii details
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>
Implementations§
source§impl MiiData__bindgen_ty_4
impl MiiData__bindgen_ty_4
pub fn sex(&self) -> bool
pub fn set_sex(&mut self, val: bool)
pub fn bday_month(&self) -> u16_
pub fn set_bday_month(&mut self, val: u16_)
pub fn bday_day(&self) -> u16_
pub fn set_bday_day(&mut self, val: u16_)
pub fn shirt_color(&self) -> u16_
pub fn set_shirt_color(&mut self, val: u16_)
pub fn favorite(&self) -> bool
pub fn set_favorite(&mut self, val: bool)
pub fn new_bitfield_1( sex: bool, bday_month: u16_, bday_day: u16_, shirt_color: u16_, favorite: bool ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
source§impl Clone for MiiData__bindgen_ty_4
impl Clone for MiiData__bindgen_ty_4
source§fn clone(&self) -> MiiData__bindgen_ty_4
fn clone(&self) -> MiiData__bindgen_ty_4
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MiiData__bindgen_ty_4
impl Debug for MiiData__bindgen_ty_4
source§impl Default for MiiData__bindgen_ty_4
impl Default for MiiData__bindgen_ty_4
source§fn default() -> MiiData__bindgen_ty_4
fn default() -> MiiData__bindgen_ty_4
Returns the “default value” for a type. Read more