#[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,
}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: u8Implementations§
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 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 Default for lv_draw_label_dsc_t
impl Default for lv_draw_label_dsc_t
impl Copy for lv_draw_label_dsc_t
Auto Trait Implementations§
impl Freeze for lv_draw_label_dsc_t
impl RefUnwindSafe for lv_draw_label_dsc_t
impl !Send for lv_draw_label_dsc_t
impl !Sync for lv_draw_label_dsc_t
impl Unpin for lv_draw_label_dsc_t
impl UnwindSafe for lv_draw_label_dsc_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