#[repr(C)]pub struct _lv_buttonmatrix_t {
pub obj: _lv_obj_t,
pub map_p: *const *const i8,
pub button_areas: *mut lv_area_t,
pub ctrl_bits: *mut u32,
pub btn_cnt: u32,
pub row_cnt: u32,
pub btn_id_sel: u32,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 3],
}Fields§
§obj: _lv_obj_t§map_p: *const *const i8§ctrl_bits: *mut u32§btn_cnt: u32§row_cnt: u32§btn_id_sel: u32§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§__bindgen_padding_0: [u8; 3]Implementations§
pub fn one_check(&self) -> u32
pub fn set_one_check(&mut self, val: u32)
pub fn auto_free_map(&self) -> u32
pub fn set_auto_free_map(&mut self, val: u32)
pub fn new_bitfield_1( one_check: u32, auto_free_map: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§fn clone(&self) -> _lv_buttonmatrix_t
fn clone(&self) -> _lv_buttonmatrix_t
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§fn default() -> _lv_buttonmatrix_t
fn default() -> _lv_buttonmatrix_t
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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