[][src]Struct mextk_sys::ColorOverlay

#[repr(C)]pub struct ColorOverlay {
    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_intpri: c_intptr1: *mut c_intloop_: c_intptr2: *mut c_intx14: c_intalloc: *mut c_intx1c: c_intx20: c_intx24: c_intcolanim: c_inthex: GXColorcolor_red: f32color_green: f32color_blue: f32color_alpha: f32colorblend_red: f32colorblend_green: f32colorblend_blue: f32colorblend_alpha: f32light_color: GXColorlight_red: f32light_green: f32light_blue: f32light_alpha: f32lightblend_red: f32lightblend_green: f32lightblend_blue: f32lightblend_alpha: f32light_angle: f32light_unk: f32_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>__bindgen_padding_0: [u8; 7]

Implementations

impl ColorOverlay[src]

pub fn color_enable(&self) -> c_uchar[src]

pub fn set_color_enable(&mut self, val: c_uchar)[src]

pub fn flag2(&self) -> c_uchar[src]

pub fn set_flag2(&mut self, val: c_uchar)[src]

pub fn light_enable(&self) -> c_uchar[src]

pub fn set_light_enable(&mut self, val: c_uchar)[src]

pub fn flag4(&self) -> c_uchar[src]

pub fn set_flag4(&mut self, val: c_uchar)[src]

pub fn flag5(&self) -> c_uchar[src]

pub fn set_flag5(&mut self, val: c_uchar)[src]

pub fn flag6(&self) -> c_uchar[src]

pub fn set_flag6(&mut self, val: c_uchar)[src]

pub fn flag7(&self) -> c_uchar[src]

pub fn set_flag7(&mut self, val: c_uchar)[src]

pub fn flag8(&self) -> c_uchar[src]

pub fn set_flag8(&mut self, val: c_uchar)[src]

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>
[src]

Trait Implementations

impl Clone for ColorOverlay[src]

impl Copy for ColorOverlay[src]

impl Debug for ColorOverlay[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.