#[repr(C)]pub struct lv_font_t {
pub get_glyph_dsc: Option<unsafe extern "C" fn(_: *const lv_font_t, _: *mut lv_font_glyph_dsc_t, _: u32, _: u32) -> bool>,
pub get_glyph_bitmap: Option<unsafe extern "C" fn(_: *mut lv_font_glyph_dsc_t, _: *mut lv_draw_buf_t) -> *const c_void>,
pub release_glyph: Option<unsafe extern "C" fn(_: *const lv_font_t, _: *mut lv_font_glyph_dsc_t)>,
pub line_height: i32,
pub base_line: i32,
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(_: *const lv_font_t, _: *mut lv_font_glyph_dsc_t, _: u32, _: u32) -> bool>
§get_glyph_bitmap: Option<unsafe extern "C" fn(_: *mut lv_font_glyph_dsc_t, _: *mut lv_draw_buf_t) -> *const c_void>
§release_glyph: Option<unsafe extern "C" fn(_: *const lv_font_t, _: *mut lv_font_glyph_dsc_t)>
§line_height: i32
§base_line: i32
§_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§
Trait Implementations§
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