Struct lv_draw_dsc_base_t
#[repr(C)]pub struct lv_draw_dsc_base_t {Show 13 fields
pub obj: *mut _lv_obj_t,
pub part: u32,
pub id1: u32,
pub id2: u32,
pub layer: *mut _lv_layer_t,
pub drop_shadow_ofs_x: i16,
pub drop_shadow_ofs_y: i16,
pub drop_shadow_color: lv_color_t,
pub drop_shadow_opa: u8,
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 3]>,
pub dsc_size: usize,
pub user_data: *mut c_void,
}Fields§
§obj: *mut _lv_obj_t§part: u32§id1: u32§id2: u32§layer: *mut _lv_layer_t§drop_shadow_ofs_x: i16§drop_shadow_ofs_y: i16§drop_shadow_color: lv_color_t§drop_shadow_opa: u8§_bitfield_align_1: [u32; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 3]>§dsc_size: usize§user_data: *mut c_voidImplementations§
§impl lv_draw_dsc_base_t
impl lv_draw_dsc_base_t
pub fn drop_shadow_blur_radius(&self) -> i32
pub fn set_drop_shadow_blur_radius(&mut self, val: i32)
pub unsafe fn drop_shadow_blur_radius_raw( this: *const lv_draw_dsc_base_t, ) -> i32
pub unsafe fn set_drop_shadow_blur_radius_raw( this: *mut lv_draw_dsc_base_t, val: i32, )
pub fn drop_shadow_quality(&self) -> u32
pub fn set_drop_shadow_quality(&mut self, val: u32)
pub unsafe fn drop_shadow_quality_raw(this: *const lv_draw_dsc_base_t) -> u32
pub unsafe fn set_drop_shadow_quality_raw( this: *mut lv_draw_dsc_base_t, val: u32, )
pub fn new_bitfield_1( drop_shadow_blur_radius: i32, drop_shadow_quality: u32, ) -> __BindgenBitfieldUnit<[u8; 3]>
Trait Implementations§
§impl Clone for lv_draw_dsc_base_t
impl Clone for lv_draw_dsc_base_t
§fn clone(&self) -> lv_draw_dsc_base_t
fn clone(&self) -> lv_draw_dsc_base_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for lv_draw_dsc_base_t
impl Debug for lv_draw_dsc_base_t
§impl Default for lv_draw_dsc_base_t
impl Default for lv_draw_dsc_base_t
§fn default() -> lv_draw_dsc_base_t
fn default() -> lv_draw_dsc_base_t
Returns the “default value” for a type. Read more
impl Copy for lv_draw_dsc_base_t
Auto Trait Implementations§
impl Freeze for lv_draw_dsc_base_t
impl RefUnwindSafe for lv_draw_dsc_base_t
impl !Send for lv_draw_dsc_base_t
impl !Sync for lv_draw_dsc_base_t
impl Unpin for lv_draw_dsc_base_t
impl UnsafeUnpin for lv_draw_dsc_base_t
impl UnwindSafe for lv_draw_dsc_base_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