Struct lvgl_sys::_lv_font_t
source · #[repr(C)]pub struct _lv_font_t {
pub get_glyph_dsc: Option<unsafe extern "C" fn(arg1: *const _lv_font_t, arg2: *mut lv_font_glyph_dsc_t, letter: u32, letter_next: u32) -> bool>,
pub get_glyph_bitmap: Option<unsafe extern "C" fn(arg1: *const _lv_font_t, arg2: u32) -> *const u8>,
pub line_height: lv_coord_t,
pub base_line: lv_coord_t,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub underline_position: i8,
pub underline_thickness: i8,
pub dsc: *const c_void,
pub fallback: *const _lv_font_t,
pub user_data: *mut c_void,
}
Fields§
§get_glyph_dsc: Option<unsafe extern "C" fn(arg1: *const _lv_font_t, arg2: *mut lv_font_glyph_dsc_t, letter: u32, letter_next: u32) -> bool>
§get_glyph_bitmap: Option<unsafe extern "C" fn(arg1: *const _lv_font_t, arg2: u32) -> *const u8>
§line_height: lv_coord_t
§base_line: lv_coord_t
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§underline_position: i8
§underline_thickness: i8
§dsc: *const c_void
§fallback: *const _lv_font_t
§user_data: *mut c_void
Implementations§
source§impl _lv_font_t
impl _lv_font_t
Trait Implementations§
source§impl Clone for _lv_font_t
impl Clone for _lv_font_t
source§fn clone(&self) -> _lv_font_t
fn clone(&self) -> _lv_font_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