Struct lvgl_sys::lv_font_fmt_txt_dsc_t[][src]

#[repr(C)]pub struct lv_font_fmt_txt_dsc_t {
    pub glyph_bitmap: *const u8,
    pub glyph_dsc: *const lv_font_fmt_txt_glyph_dsc_t,
    pub cmaps: *const lv_font_fmt_txt_cmap_t,
    pub kern_dsc: *const c_void,
    pub kern_scale: u16,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u16>,
    pub last_letter: u32,
    pub last_glyph_id: u32,
}

Fields

glyph_bitmap: *const u8glyph_dsc: *const lv_font_fmt_txt_glyph_dsc_tcmaps: *const lv_font_fmt_txt_cmap_tkern_dsc: *const c_voidkern_scale: u16_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u16>last_letter: u32last_glyph_id: u32

Implementations

impl lv_font_fmt_txt_dsc_t[src]

pub fn cmap_num(&self) -> u16[src]

pub fn set_cmap_num(&mut self, val: u16)[src]

pub fn bpp(&self) -> u16[src]

pub fn set_bpp(&mut self, val: u16)[src]

pub fn kern_classes(&self) -> u16[src]

pub fn set_kern_classes(&mut self, val: u16)[src]

pub fn bitmap_format(&self) -> u16[src]

pub fn set_bitmap_format(&mut self, val: u16)[src]

pub fn new_bitfield_1(
    cmap_num: u16,
    bpp: u16,
    kern_classes: u16,
    bitmap_format: u16
) -> __BindgenBitfieldUnit<[u8; 4], u16>
[src]

Trait Implementations

impl Clone for lv_font_fmt_txt_dsc_t[src]

impl Copy for lv_font_fmt_txt_dsc_t[src]

impl Debug for lv_font_fmt_txt_dsc_t[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.