LVGL bindings for Rust. A powerful and easy-to-use embedded GUI with many widgets, advanced visual effects (opacity, antialiasing, animations) and low memory requirements (16K RAM, 64K Flash).
usecrate::Box;/// An LVGL font. Can be applied to styles using `set_text_font()`.
pubstructFont{inner:Box<lvgl_sys::lv_font_t>,
}implFrom<Font>for *constlvgl_sys::lv_font_t{fnfrom(value: Font)->Self{Box::<lvgl_sys::lv_font_t>::into_raw(value.inner)}}implFont{/// Creates a `Font` from a given `lv_font_t`.
/// # Safety
/// The `lv_font_t` must have been well-defined in the C code which
/// constructs it.
pubunsafefnnew_raw(raw:lvgl_sys::lv_font_t)->Self{
Font {
inner:Box::new(raw),}}}