#[repr(C)]pub struct _lv_obj_t {
pub class_p: *const lv_obj_class_t,
pub parent: *mut _lv_obj_t,
pub spec_attr: *mut _lv_obj_spec_attr_t,
pub styles: *mut _lv_obj_style_t,
pub user_data: *mut c_void,
pub coords: lv_area_t,
pub flags: lv_obj_flag_t,
pub state: lv_state_t,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
}
Fields§
§class_p: *const lv_obj_class_t
§parent: *mut _lv_obj_t
§spec_attr: *mut _lv_obj_spec_attr_t
§styles: *mut _lv_obj_style_t
§user_data: *mut c_void
§coords: lv_area_t
§flags: lv_obj_flag_t
§state: lv_state_t
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>
Implementations§
Source§impl _lv_obj_t
impl _lv_obj_t
pub fn layout_inv(&self) -> u16
pub fn set_layout_inv(&mut self, val: u16)
pub fn scr_layout_inv(&self) -> u16
pub fn set_scr_layout_inv(&mut self, val: u16)
pub fn skip_trans(&self) -> u16
pub fn set_skip_trans(&mut self, val: u16)
pub fn style_cnt(&self) -> u16
pub fn set_style_cnt(&mut self, val: u16)
pub fn h_layout(&self) -> u16
pub fn set_h_layout(&mut self, val: u16)
pub fn w_layout(&self) -> u16
pub fn set_w_layout(&mut self, val: u16)
pub fn new_bitfield_1( layout_inv: u16, scr_layout_inv: u16, skip_trans: u16, style_cnt: u16, h_layout: u16, w_layout: u16, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
impl Copy for _lv_obj_t
Auto Trait Implementations§
impl Freeze for _lv_obj_t
impl RefUnwindSafe for _lv_obj_t
impl !Send for _lv_obj_t
impl !Sync for _lv_obj_t
impl Unpin for _lv_obj_t
impl UnwindSafe for _lv_obj_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