#[repr(C)]pub struct lv_roller_t {
pub obj: lv_obj_t,
pub option_cnt: u16,
pub sel_opt_id: u16,
pub sel_opt_id_ori: u16,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: u8,
}
Fields§
§obj: lv_obj_t
§option_cnt: u16
§sel_opt_id: u16
§sel_opt_id_ori: u16
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: u8
Implementations§
Source§impl lv_roller_t
impl lv_roller_t
pub fn mode(&self) -> lv_roller_mode_t
pub fn set_mode(&mut self, val: lv_roller_mode_t)
pub fn moved(&self) -> u32
pub fn set_moved(&mut self, val: u32)
pub fn new_bitfield_1( mode: lv_roller_mode_t, moved: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for lv_roller_t
impl Clone for lv_roller_t
Source§fn clone(&self) -> lv_roller_t
fn clone(&self) -> lv_roller_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§impl Debug for lv_roller_t
impl Debug for lv_roller_t
Source§impl Default for lv_roller_t
impl Default for lv_roller_t
impl Copy for lv_roller_t
Auto Trait Implementations§
impl Freeze for lv_roller_t
impl RefUnwindSafe for lv_roller_t
impl !Send for lv_roller_t
impl !Sync for lv_roller_t
impl Unpin for lv_roller_t
impl UnwindSafe for lv_roller_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