Struct ctru_sys::MiiData__bindgen_ty_15
source · #[repr(C, align(2))]pub struct MiiData__bindgen_ty_15 {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
}
Expand description
Mole details
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>
Implementations§
source§impl MiiData__bindgen_ty_15
impl MiiData__bindgen_ty_15
pub fn enable(&self) -> bool
pub fn set_enable(&mut self, val: bool)
pub fn scale(&self) -> u16_
pub fn set_scale(&mut self, val: u16_)
pub fn xpos(&self) -> u16_
pub fn set_xpos(&mut self, val: u16_)
pub fn ypos(&self) -> u16_
pub fn set_ypos(&mut self, val: u16_)
pub fn new_bitfield_1( enable: bool, scale: u16_, xpos: u16_, ypos: u16_ ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
source§impl Clone for MiiData__bindgen_ty_15
impl Clone for MiiData__bindgen_ty_15
source§fn clone(&self) -> MiiData__bindgen_ty_15
fn clone(&self) -> MiiData__bindgen_ty_15
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_15
impl Debug for MiiData__bindgen_ty_15
source§impl Default for MiiData__bindgen_ty_15
impl Default for MiiData__bindgen_ty_15
source§fn default() -> MiiData__bindgen_ty_15
fn default() -> MiiData__bindgen_ty_15
Returns the “default value” for a type. Read more