Struct ctru_sys::MiiData__bindgen_ty_2
source · #[repr(C)]pub struct MiiData__bindgen_ty_2 {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
}
Expand description
Mii position in Mii selector or Mii maker
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
Implementations§
source§impl MiiData__bindgen_ty_2
impl MiiData__bindgen_ty_2
pub fn page_index(&self) -> u8_
pub fn set_page_index(&mut self, val: u8_)
pub fn slot_index(&self) -> u8_
pub fn set_slot_index(&mut self, val: u8_)
pub fn new_bitfield_1( page_index: u8_, slot_index: u8_ ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for MiiData__bindgen_ty_2
impl Clone for MiiData__bindgen_ty_2
source§fn clone(&self) -> MiiData__bindgen_ty_2
fn clone(&self) -> MiiData__bindgen_ty_2
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_2
impl Debug for MiiData__bindgen_ty_2
source§impl Default for MiiData__bindgen_ty_2
impl Default for MiiData__bindgen_ty_2
source§fn default() -> MiiData__bindgen_ty_2
fn default() -> MiiData__bindgen_ty_2
Returns the “default value” for a type. Read more