Struct lvgl_sys::lv_dropdown_t
source · #[repr(C)]pub struct lv_dropdown_t {
pub obj: lv_obj_t,
pub list: *mut lv_obj_t,
pub text: *const c_char,
pub symbol: *const c_void,
pub options: *mut c_char,
pub option_cnt: u16,
pub sel_opt_id: u16,
pub sel_opt_id_orig: u16,
pub pr_opt_id: u16,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}
Fields§
§obj: lv_obj_t
§list: *mut lv_obj_t
§text: *const c_char
§symbol: *const c_void
§options: *mut c_char
§option_cnt: u16
§sel_opt_id: u16
§sel_opt_id_orig: u16
§pr_opt_id: u16
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 7]
Implementations§
source§impl lv_dropdown_t
impl lv_dropdown_t
pub fn dir(&self) -> lv_dir_t
pub fn set_dir(&mut self, val: lv_dir_t)
pub fn static_txt(&self) -> u8
pub fn set_static_txt(&mut self, val: u8)
pub fn selected_highlight(&self) -> u8
pub fn set_selected_highlight(&mut self, val: u8)
pub fn new_bitfield_1( dir: lv_dir_t, static_txt: u8, selected_highlight: u8 ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for lv_dropdown_t
impl Clone for lv_dropdown_t
source§fn clone(&self) -> lv_dropdown_t
fn clone(&self) -> lv_dropdown_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