Struct lvgl_sys::lv_color8_t__bindgen_ty_1
source · #[repr(C, packed)]pub struct lv_color8_t__bindgen_ty_1 {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
}
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
Implementations§
source§impl lv_color8_t__bindgen_ty_1
impl lv_color8_t__bindgen_ty_1
pub fn blue(&self) -> u8
pub fn set_blue(&mut self, val: u8)
pub fn green(&self) -> u8
pub fn set_green(&mut self, val: u8)
pub fn red(&self) -> u8
pub fn set_red(&mut self, val: u8)
pub fn new_bitfield_1( blue: u8, green: u8, red: u8 ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for lv_color8_t__bindgen_ty_1
impl Clone for lv_color8_t__bindgen_ty_1
source§fn clone(&self) -> lv_color8_t__bindgen_ty_1
fn clone(&self) -> lv_color8_t__bindgen_ty_1
Returns a copy 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 lv_color8_t__bindgen_ty_1
impl Debug for lv_color8_t__bindgen_ty_1
source§impl Default for lv_color8_t__bindgen_ty_1
impl Default for lv_color8_t__bindgen_ty_1
source§fn default() -> lv_color8_t__bindgen_ty_1
fn default() -> lv_color8_t__bindgen_ty_1
Returns the “default value” for a type. Read more