#[repr(C)]pub struct lv_img_t {
pub obj: lv_obj_t,
pub src: *const c_void,
pub offset: lv_point_t,
pub w: lv_coord_t,
pub h: lv_coord_t,
pub angle: u16,
pub pivot: lv_point_t,
pub zoom: u16,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub __bindgen_padding_0: u16,
}Fields§
§obj: lv_obj_t§src: *const c_void§offset: lv_point_t§w: lv_coord_t§h: lv_coord_t§angle: u16§pivot: lv_point_t§zoom: u16§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§__bindgen_padding_0: u16Implementations§
Source§impl lv_img_t
impl lv_img_t
pub fn src_type(&self) -> u8
pub fn set_src_type(&mut self, val: u8)
pub fn cf(&self) -> u8
pub fn set_cf(&mut self, val: u8)
pub fn antialias(&self) -> u8
pub fn set_antialias(&mut self, val: u8)
pub fn obj_size_mode(&self) -> u8
pub fn set_obj_size_mode(&mut self, val: u8)
pub fn new_bitfield_1( src_type: u8, cf: u8, antialias: u8, obj_size_mode: u8, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
impl Copy for lv_img_t
Auto Trait Implementations§
impl Freeze for lv_img_t
impl RefUnwindSafe for lv_img_t
impl !Send for lv_img_t
impl !Sync for lv_img_t
impl Unpin for lv_img_t
impl UnwindSafe for lv_img_t
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