#[repr(C, packed(1))]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 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 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
impl Copy for lv_color8_t__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for lv_color8_t__bindgen_ty_1
impl RefUnwindSafe for lv_color8_t__bindgen_ty_1
impl Send for lv_color8_t__bindgen_ty_1
impl Sync for lv_color8_t__bindgen_ty_1
impl Unpin for lv_color8_t__bindgen_ty_1
impl UnwindSafe for lv_color8_t__bindgen_ty_1
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