#[repr(C)]pub struct ColorOverlay {Show 33 fields
pub timer: c_int,
pub pri: c_int,
pub ptr1: *mut c_int,
pub loop_: c_int,
pub ptr2: *mut c_int,
pub x14: c_int,
pub alloc: *mut c_int,
pub x1c: c_int,
pub x20: c_int,
pub x24: c_int,
pub colanim: c_int,
pub hex: GXColor,
pub color_red: f32,
pub color_green: f32,
pub color_blue: f32,
pub color_alpha: f32,
pub colorblend_red: f32,
pub colorblend_green: f32,
pub colorblend_blue: f32,
pub colorblend_alpha: f32,
pub light_color: GXColor,
pub light_red: f32,
pub light_green: f32,
pub light_blue: f32,
pub light_alpha: f32,
pub lightblend_red: f32,
pub lightblend_green: f32,
pub lightblend_blue: f32,
pub lightblend_alpha: f32,
pub light_angle: f32,
pub light_unk: f32,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
pub __bindgen_padding_0: [u8; 7],
}Fields§
§timer: c_int§pri: c_int§ptr1: *mut c_int§loop_: c_int§ptr2: *mut c_int§x14: c_int§alloc: *mut c_int§x1c: c_int§x20: c_int§x24: c_int§colanim: c_int§hex: GXColor§color_red: f32§color_green: f32§color_blue: f32§color_alpha: f32§colorblend_red: f32§colorblend_green: f32§colorblend_blue: f32§colorblend_alpha: f32§light_color: GXColor§light_red: f32§light_green: f32§light_blue: f32§light_alpha: f32§lightblend_red: f32§lightblend_green: f32§lightblend_blue: f32§lightblend_alpha: f32§light_angle: f32§light_unk: f32§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>§__bindgen_padding_0: [u8; 7]Implementations§
Source§impl ColorOverlay
impl ColorOverlay
pub fn color_enable(&self) -> c_uchar
pub fn set_color_enable(&mut self, val: c_uchar)
pub fn flag2(&self) -> c_uchar
pub fn set_flag2(&mut self, val: c_uchar)
pub fn light_enable(&self) -> c_uchar
pub fn set_light_enable(&mut self, val: c_uchar)
pub fn flag4(&self) -> c_uchar
pub fn set_flag4(&mut self, val: c_uchar)
pub fn flag5(&self) -> c_uchar
pub fn set_flag5(&mut self, val: c_uchar)
pub fn flag6(&self) -> c_uchar
pub fn set_flag6(&mut self, val: c_uchar)
pub fn flag7(&self) -> c_uchar
pub fn set_flag7(&mut self, val: c_uchar)
pub fn flag8(&self) -> c_uchar
pub fn set_flag8(&mut self, val: c_uchar)
pub fn new_bitfield_1( color_enable: c_uchar, flag2: c_uchar, light_enable: c_uchar, flag4: c_uchar, flag5: c_uchar, flag6: c_uchar, flag7: c_uchar, flag8: c_uchar, ) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations§
Source§impl Clone for ColorOverlay
impl Clone for ColorOverlay
Source§fn clone(&self) -> ColorOverlay
fn clone(&self) -> ColorOverlay
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColorOverlay
impl Debug for ColorOverlay
impl Copy for ColorOverlay
Auto Trait Implementations§
impl Freeze for ColorOverlay
impl RefUnwindSafe for ColorOverlay
impl !Send for ColorOverlay
impl !Sync for ColorOverlay
impl Unpin for ColorOverlay
impl UnwindSafe for ColorOverlay
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more