#[repr(C, align(2))]pub struct lv_color16_t {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
}
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>
Implementations§
Source§impl lv_color16_t
impl lv_color16_t
pub fn blue(&self) -> u16
pub fn set_blue(&mut self, val: u16)
pub fn green(&self) -> u16
pub fn set_green(&mut self, val: u16)
pub fn red(&self) -> u16
pub fn set_red(&mut self, val: u16)
pub fn new_bitfield_1( blue: u16, green: u16, red: u16, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
Source§impl Clone for lv_color16_t
impl Clone for lv_color16_t
Source§fn clone(&self) -> lv_color16_t
fn clone(&self) -> lv_color16_t
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_color16_t
impl Debug for lv_color16_t
Source§impl Default for lv_color16_t
impl Default for lv_color16_t
Source§fn default() -> lv_color16_t
fn default() -> lv_color16_t
Returns the “default value” for a type. Read more
impl Copy for lv_color16_t
Auto Trait Implementations§
impl Freeze for lv_color16_t
impl RefUnwindSafe for lv_color16_t
impl Send for lv_color16_t
impl Sync for lv_color16_t
impl Unpin for lv_color16_t
impl UnwindSafe for lv_color16_t
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