[][src]Function lvgl::widgets::bar::set_type

pub fn set_type(bar: *mut lv_obj_t, type_: lv_bar_type_t) -> MynewtResult<()>

Set the type of bar.

  • bar: pointer to bar object
  • type: bar type