Struct lvgl_sys::lv_grad_dsc_t
source · #[repr(C)]pub struct lv_grad_dsc_t {
pub stops: [lv_gradient_stop_t; 2],
pub stops_count: u8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
}
Fields§
§stops: [lv_gradient_stop_t; 2]
§stops_count: u8
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
Implementations§
source§impl lv_grad_dsc_t
impl lv_grad_dsc_t
pub fn dir(&self) -> lv_grad_dir_t
pub fn set_dir(&mut self, val: lv_grad_dir_t)
pub fn dither(&self) -> lv_dither_mode_t
pub fn set_dither(&mut self, val: lv_dither_mode_t)
pub fn new_bitfield_1( dir: lv_grad_dir_t, dither: lv_dither_mode_t ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for lv_grad_dsc_t
impl Clone for lv_grad_dsc_t
source§fn clone(&self) -> lv_grad_dsc_t
fn clone(&self) -> lv_grad_dsc_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 more