Struct lvgl_sys::lv_spangroup_t
source · #[repr(C)]pub struct lv_spangroup_t {
pub obj: lv_obj_t,
pub lines: i32,
pub indent: lv_coord_t,
pub cache_w: lv_coord_t,
pub cache_h: lv_coord_t,
pub child_ll: lv_ll_t,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}
Fields§
§obj: lv_obj_t
§lines: i32
§indent: lv_coord_t
§cache_w: lv_coord_t
§cache_h: lv_coord_t
§child_ll: lv_ll_t
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 7]
Implementations§
source§impl lv_spangroup_t
impl lv_spangroup_t
pub fn mode(&self) -> u8
pub fn set_mode(&mut self, val: u8)
pub fn overflow(&self) -> u8
pub fn set_overflow(&mut self, val: u8)
pub fn refresh(&self) -> u8
pub fn set_refresh(&mut self, val: u8)
pub fn new_bitfield_1( mode: u8, overflow: u8, refresh: u8 ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for lv_spangroup_t
impl Clone for lv_spangroup_t
source§fn clone(&self) -> lv_spangroup_t
fn clone(&self) -> lv_spangroup_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