#[repr(C)]pub struct lv_checkbox_t {
pub obj: lv_obj_t,
pub txt: *mut c_char,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}
Fields§
§obj: lv_obj_t
§txt: *mut c_char
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 7]
Implementations§
Source§impl lv_checkbox_t
impl lv_checkbox_t
pub fn static_txt(&self) -> u32
pub fn set_static_txt(&mut self, val: u32)
pub fn new_bitfield_1(static_txt: u32) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for lv_checkbox_t
impl Clone for lv_checkbox_t
Source§fn clone(&self) -> lv_checkbox_t
fn clone(&self) -> lv_checkbox_t
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for lv_checkbox_t
impl Debug for lv_checkbox_t
Source§impl Default for lv_checkbox_t
impl Default for lv_checkbox_t
impl Copy for lv_checkbox_t
Auto Trait Implementations§
impl Freeze for lv_checkbox_t
impl RefUnwindSafe for lv_checkbox_t
impl !Send for lv_checkbox_t
impl !Sync for lv_checkbox_t
impl Unpin for lv_checkbox_t
impl UnwindSafe for lv_checkbox_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