1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
//! LVGL Font API for Rust #[cfg(feature = "mynewt_os")] // If building for Mynewt OS... use mynewt::{ // Use Mynewt types result::*, Out, Ptr, Strn, }; #[cfg(feature = "riot_os")] // If building for RIOT OS... use crate::{ // Use RIOT types result::*, Out, Ptr, Strn, }; use crate::{ core::{ obj::{ _lv_obj_t, lv_obj_t, lv_style_t, lv_font_glyph_dsc_t, _lv_font_struct, }, }, }; /// Contains Rust bindings for LVGL Font Widget API `lv_font` #[allow(non_camel_case_types)] // Allow type names to have non-camel case #[allow(non_upper_case_globals)] // Allow globals to have lowercase letters #[allow(unused_imports)] // Allow unused imports pub mod font;