#[repr(C)]pub struct lv_imagebutton_t {
pub obj: lv_obj_t,
pub src_mid: [lv_imagebutton_src_info_t; 6],
pub src_left: [lv_imagebutton_src_info_t; 6],
pub src_right: [lv_imagebutton_src_info_t; 6],
}Expand description
Data of image button
Fields§
§obj: lv_obj_t§src_mid: [lv_imagebutton_src_info_t; 6]< Store center images to each state
src_left: [lv_imagebutton_src_info_t; 6]< Store left side images to each state
src_right: [lv_imagebutton_src_info_t; 6]< Store right side images to each state
Trait Implementations§
Source§fn clone(&self) -> lv_imagebutton_t
fn clone(&self) -> lv_imagebutton_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more