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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227
//! LVGL Widgets 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, }, }, }; /// Contains Rust bindings for LVGL Arc Widget API `lv_arc` #[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 arc; /// Contains Rust bindings for LVGL Bar Widget API `lv_bar` #[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 bar; /// Contains Rust bindings for LVGL Button Widget API `lv_btn` #[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 btn; /// Contains Rust bindings for LVGL Button Matrix Widget API `lv_btnmatrix` #[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 btnmatrix; /// Contains Rust bindings for LVGL Calendar Widget API `lv_calendar` #[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 calendar; /// Contains Rust bindings for LVGL Canvas Widget API `lv_canvas` #[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 canvas; /// Contains Rust bindings for LVGL Chart Widget API `lv_chart` #[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 chart; /// Contains Rust bindings for LVGL Checkbox Widget API `lv_checkbox` #[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 checkbox; /// Contains Rust bindings for LVGL Cont Widget API `lv_cont` #[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 cont; /// Contains Rust bindings for LVGL CPicker Widget API `lv_cpicker` #[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 cpicker; /// Contains Rust bindings for LVGL Dropdown Widget API `lv_dropdown` #[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 dropdown; /// Contains Rust bindings for LVGL Gauge Widget API `lv_gauge` #[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 gauge; /// Contains Rust bindings for LVGL Image Widget API `lv_img` #[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 img; /// Contains Rust bindings for LVGL Image Button Widget API `lv_imgbtn` #[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 imgbtn; /// Contains Rust bindings for LVGL Keyboard Widget API `lv_keyboard` #[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 keyboard; /// Contains Rust bindings for LVGL Label Widget API `lv_label` #[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 label; /// Contains Rust bindings for LVGL LED Widget API `lv_led` #[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 led; /// Contains Rust bindings for LVGL Line Widget API `lv_line` #[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 line; /// Contains Rust bindings for LVGL Line Meter Widget API `lv_linemeter` #[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 linemeter; /// Contains Rust bindings for LVGL List Widget API `lv_list` #[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 list; /// Contains Rust bindings for LVGL Message Box Widget API `lv_msgbox` #[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 msgbox; /// Contains Rust bindings for LVGL Object Mask Widget API `lv_objmask` #[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 objmask; /// Contains Rust bindings for LVGL Template Widget API `lv_objx_templ` #[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 objx_templ; /// Contains Rust bindings for LVGL Page Widget API `lv_page` #[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 page; /// Contains Rust bindings for LVGL Roller Widget API `lv_roller` #[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 roller; /// Contains Rust bindings for LVGL Slider Widget API `lv_slider` #[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 slider; /// Contains Rust bindings for LVGL Spinbox Widget API `lv_spinbox` #[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 spinbox; /// Contains Rust bindings for LVGL Spinner Widget API `lv_spinner` #[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 spinner; /// Contains Rust bindings for LVGL Switch Widget API `lv_switch` #[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 switch; /// Contains Rust bindings for LVGL Table Widget API `lv_table` #[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 table; /// Contains Rust bindings for LVGL Tab View Widget API `lv_tabview` #[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 tabview; /// Contains Rust bindings for LVGL Text Area Widget API `lv_textarea` #[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 textarea; /// Contains Rust bindings for LVGL Tile View Widget API `lv_tileview` #[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 tileview; /// Contains Rust bindings for LVGL Window Widget API `lv_win` #[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 win;