Struct lvgl_sys::lv_font_glyph_dsc_t
source · #[repr(C)]pub struct lv_font_glyph_dsc_t {
pub resolved_font: *const _lv_font_t,
pub adv_w: u16,
pub box_w: u16,
pub box_h: u16,
pub ofs_x: i16,
pub ofs_y: i16,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 5],
}
Fields§
§resolved_font: *const _lv_font_t
§adv_w: u16
§box_w: u16
§box_h: u16
§ofs_x: i16
§ofs_y: i16
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 5]
Implementations§
source§impl lv_font_glyph_dsc_t
impl lv_font_glyph_dsc_t
pub fn bpp(&self) -> u8
pub fn set_bpp(&mut self, val: u8)
pub fn is_placeholder(&self) -> u8
pub fn set_is_placeholder(&mut self, val: u8)
pub fn new_bitfield_1( bpp: u8, is_placeholder: u8 ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for lv_font_glyph_dsc_t
impl Clone for lv_font_glyph_dsc_t
source§fn clone(&self) -> lv_font_glyph_dsc_t
fn clone(&self) -> lv_font_glyph_dsc_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