#[repr(C)]pub struct lv_grad_dsc_t {
pub stops: [lv_gradient_stop_t; 2],
pub stops_count: u8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
}Fields§
§stops: [lv_gradient_stop_t; 2]§stops_count: u8§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>Implementations§
Source§impl lv_grad_dsc_t
impl lv_grad_dsc_t
pub fn dir(&self) -> lv_grad_dir_t
pub fn set_dir(&mut self, val: lv_grad_dir_t)
pub fn dither(&self) -> lv_dither_mode_t
pub fn set_dither(&mut self, val: lv_dither_mode_t)
pub fn new_bitfield_1( dir: lv_grad_dir_t, dither: lv_dither_mode_t, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for lv_grad_dsc_t
impl Clone for lv_grad_dsc_t
Source§fn clone(&self) -> lv_grad_dsc_t
fn clone(&self) -> lv_grad_dsc_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 moreSource§impl Default for lv_grad_dsc_t
impl Default for lv_grad_dsc_t
impl Copy for lv_grad_dsc_t
Auto Trait Implementations§
impl Freeze for lv_grad_dsc_t
impl RefUnwindSafe for lv_grad_dsc_t
impl Send for lv_grad_dsc_t
impl Sync for lv_grad_dsc_t
impl Unpin for lv_grad_dsc_t
impl UnwindSafe for lv_grad_dsc_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