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