Struct lv_layout_callbacks_t
#[repr(C)]pub struct lv_layout_callbacks_t {
pub layout_update_cb: Option<unsafe extern "C" fn(*mut _lv_obj_t, *mut c_void)>,
pub get_min_size_cb: Option<unsafe extern "C" fn(*mut _lv_obj_t, *mut i32, bool, *mut c_void) -> bool>,
}Fields§
§layout_update_cb: Option<unsafe extern "C" fn(*mut _lv_obj_t, *mut c_void)>§get_min_size_cb: Option<unsafe extern "C" fn(*mut _lv_obj_t, *mut i32, bool, *mut c_void) -> bool>Trait Implementations§
§impl Clone for lv_layout_callbacks_t
impl Clone for lv_layout_callbacks_t
§fn clone(&self) -> lv_layout_callbacks_t
fn clone(&self) -> lv_layout_callbacks_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_layout_callbacks_t
impl Debug for lv_layout_callbacks_t
§impl Default for lv_layout_callbacks_t
impl Default for lv_layout_callbacks_t
§fn default() -> lv_layout_callbacks_t
fn default() -> lv_layout_callbacks_t
Returns the “default value” for a type. Read more
impl Copy for lv_layout_callbacks_t
Auto Trait Implementations§
impl Freeze for lv_layout_callbacks_t
impl RefUnwindSafe for lv_layout_callbacks_t
impl Send for lv_layout_callbacks_t
impl Sync for lv_layout_callbacks_t
impl Unpin for lv_layout_callbacks_t
impl UnsafeUnpin for lv_layout_callbacks_t
impl UnwindSafe for lv_layout_callbacks_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