Struct rute::auto::spacer_item_ffi::RUSpacerItemFuncs
source · #[repr(C)]pub struct RUSpacerItemFuncs {
pub change_size: extern "C" fn(self_c: *const RUBase, w: i32, h: i32, h_data: u32, v_data: u32),
pub size_hint: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub minimum_size: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub maximum_size: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub expanding_directions: extern "C" fn(self_c: *const RUBase) -> u32,
pub is_empty: extern "C" fn(self_c: *const RUBase) -> bool,
pub spacer_item: extern "C" fn(self_c: *const RUBase) -> RUSpacerItem,
pub size_policy: extern "C" fn(self_c: *const RUBase) -> RUSizePolicy,
}
Fields
change_size: extern "C" fn(self_c: *const RUBase, w: i32, h: i32, h_data: u32, v_data: u32)
size_hint: extern "C" fn(self_c: *const RUBase) -> RUSize
minimum_size: extern "C" fn(self_c: *const RUBase) -> RUSize
maximum_size: extern "C" fn(self_c: *const RUBase) -> RUSize
expanding_directions: extern "C" fn(self_c: *const RUBase) -> u32
is_empty: extern "C" fn(self_c: *const RUBase) -> bool
spacer_item: extern "C" fn(self_c: *const RUBase) -> RUSpacerItem
size_policy: extern "C" fn(self_c: *const RUBase) -> RUSizePolicy
Trait Implementations
sourceimpl Clone for RUSpacerItemFuncs
impl Clone for RUSpacerItemFuncs
sourcefn clone(&self) -> RUSpacerItemFuncs
fn clone(&self) -> RUSpacerItemFuncs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RUSpacerItemFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUSpacerItemFuncs
impl Send for RUSpacerItemFuncs
impl Sync for RUSpacerItemFuncs
impl Unpin for RUSpacerItemFuncs
impl UnwindSafe for RUSpacerItemFuncs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more