#[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_voidImplementations§
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 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_font_t
impl Debug for _lv_font_t
Source§impl Default for _lv_font_t
impl Default for _lv_font_t
impl Copy for _lv_font_t
Auto Trait Implementations§
impl Freeze for _lv_font_t
impl RefUnwindSafe for _lv_font_t
impl !Send for _lv_font_t
impl !Sync for _lv_font_t
impl Unpin for _lv_font_t
impl UnwindSafe for _lv_font_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