Struct lvgl_sys::lv_draw_label_dsc_t
source · #[repr(C)]pub struct lv_draw_label_dsc_t {Show 17 fields
pub font: *const lv_font_t,
pub sel_start: u32,
pub sel_end: u32,
pub color: lv_color_t,
pub sel_color: lv_color_t,
pub sel_bg_color: lv_color_t,
pub line_space: lv_coord_t,
pub letter_space: lv_coord_t,
pub ofs_x: lv_coord_t,
pub ofs_y: lv_coord_t,
pub opa: lv_opa_t,
pub bidi_dir: lv_base_dir_t,
pub align: lv_text_align_t,
pub flag: lv_text_flag_t,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 5],
}
Fields§
§font: *const lv_font_t
§sel_start: u32
§sel_end: u32
§color: lv_color_t
§sel_color: lv_color_t
§sel_bg_color: lv_color_t
§line_space: lv_coord_t
§letter_space: lv_coord_t
§ofs_x: lv_coord_t
§ofs_y: lv_coord_t
§opa: lv_opa_t
§bidi_dir: lv_base_dir_t
§align: lv_text_align_t
§flag: lv_text_flag_t
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 5]
Implementations§
source§impl lv_draw_label_dsc_t
impl lv_draw_label_dsc_t
pub fn decor(&self) -> lv_text_decor_t
pub fn set_decor(&mut self, val: lv_text_decor_t)
pub fn blend_mode(&self) -> lv_blend_mode_t
pub fn set_blend_mode(&mut self, val: lv_blend_mode_t)
pub fn new_bitfield_1( decor: lv_text_decor_t, blend_mode: lv_blend_mode_t ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for lv_draw_label_dsc_t
impl Clone for lv_draw_label_dsc_t
source§fn clone(&self) -> lv_draw_label_dsc_t
fn clone(&self) -> lv_draw_label_dsc_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