Struct lvgl_sys::_lv_font_struct[][src]

#[repr(C)]pub struct _lv_font_struct {
    pub get_glyph_dsc: Option<unsafe extern "C" fn(arg1: *const _lv_font_struct, 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_struct, arg2: u32) -> *const u8>,
    pub line_height: lv_coord_t,
    pub base_line: lv_coord_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub dsc: *mut c_void,
    pub user_data: lv_font_user_data_t,
}

Fields

get_glyph_dsc: Option<unsafe extern "C" fn(arg1: *const _lv_font_struct, 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_struct, arg2: u32) -> *const u8>line_height: lv_coord_tbase_line: lv_coord_t_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>dsc: *mut c_voiduser_data: lv_font_user_data_t

Implementations

impl _lv_font_struct[src]

pub fn subpx(&self) -> u8[src]

pub fn set_subpx(&mut self, val: u8)[src]

pub fn new_bitfield_1(subpx: u8) -> __BindgenBitfieldUnit<[u8; 1], u8>[src]

Trait Implementations

impl Clone for _lv_font_struct[src]

impl Copy for _lv_font_struct[src]

impl Debug for _lv_font_struct[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.