[][src]Module lvgl::widgets::led

Contains Rust bindings for LVGL LED Widget API lv_led

Structs

__BindgenBitfieldUnit
lv_area_t

Represents an area of the screen.

lv_led_ext_t

TYPEDEFS

lv_ll_t

Description of a linked list

lv_realign_t
lv_style_list_t

Constants

LV_LED_BRIGHT_MAX
LV_LED_BRIGHT_MIN
LV_LED_PART_MAIN

Functions

create

Create a led objects

get_bright

Get the brightness of a LEd object

off

Light off a LED

on

Light on a LED

set_bright

Set the brightness of a LED object

toggle

Toggle the state of a LED

Type Definitions

_bindgen_ty_32
lv_align_t
lv_bidi_dir_t
lv_coord_t
lv_design_cb_t

The design callback is used to draw the object on the screen. It accepts the object, a mask area, and the mode in which to draw the object.

lv_design_mode_t
lv_design_res_t
lv_drag_dir_t
lv_event_cb_t

@brief Event callback. Events are used to notify the user of some action being taken on the object. For details, see ::lv_event_t.

lv_event_t
lv_led_part_t
lv_ll_node_t

Dummy type to make handling easier

lv_obj_t
lv_obj_user_data_t
lv_res_t
lv_signal_cb_t
lv_signal_t
lv_state_t