Struct lvgl_sys::lv_colorwheel_t
source · #[repr(C)]pub struct lv_colorwheel_t {
pub obj: lv_obj_t,
pub hsv: lv_color_hsv_t,
pub knob: lv_colorwheel_t__bindgen_ty_1,
pub last_click_time: u32,
pub last_change_time: u32,
pub last_press_point: lv_point_t,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}
Fields§
§obj: lv_obj_t
§hsv: lv_color_hsv_t
§knob: lv_colorwheel_t__bindgen_ty_1
§last_click_time: u32
§last_change_time: u32
§last_press_point: lv_point_t
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 7]
Implementations§
source§impl lv_colorwheel_t
impl lv_colorwheel_t
pub fn mode(&self) -> lv_colorwheel_mode_t
pub fn set_mode(&mut self, val: lv_colorwheel_mode_t)
pub fn mode_fixed(&self) -> u8
pub fn set_mode_fixed(&mut self, val: u8)
pub fn new_bitfield_1( mode: lv_colorwheel_mode_t, mode_fixed: u8 ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for lv_colorwheel_t
impl Clone for lv_colorwheel_t
source§fn clone(&self) -> lv_colorwheel_t
fn clone(&self) -> lv_colorwheel_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