[][src]Struct lvgl::widgets::img::lv_color16_t__bindgen_ty_1

#[repr(C)]
#[repr(align(2))]pub struct lv_color16_t__bindgen_ty_1 {
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>,
}

Fields

_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>

Implementations

impl lv_color16_t__bindgen_ty_1[src]

pub fn green_h(&self) -> u16[src]

pub fn set_green_h(&mut self, val: u16)[src]

pub fn red(&self) -> u16[src]

pub fn set_red(&mut self, val: u16)[src]

pub fn blue(&self) -> u16[src]

pub fn set_blue(&mut self, val: u16)[src]

pub fn green_l(&self) -> u16[src]

pub fn set_green_l(&mut self, val: u16)[src]

pub fn new_bitfield_1(
    green_h: u16,
    red: u16,
    blue: u16,
    green_l: u16
) -> __BindgenBitfieldUnit<[u8; 2], u8>
[src]

Trait Implementations

impl Clone for lv_color16_t__bindgen_ty_1[src]

impl Copy for lv_color16_t__bindgen_ty_1[src]

impl Default for lv_color16_t__bindgen_ty_1[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> Same<T> for T

type Output = T

Should always be Self

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.