Struct rute::auto::layout_item_ffi::RULayoutItemFuncs
source · #[repr(C)]pub struct RULayoutItemFuncs {Show 14 fields
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 has_height_for_width: extern "C" fn(self_c: *const RUBase) -> bool,
pub height_for_width: extern "C" fn(self_c: *const RUBase, arg0: i32) -> i32,
pub minimum_height_for_width: extern "C" fn(self_c: *const RUBase, arg0: i32) -> i32,
pub invalidate: extern "C" fn(self_c: *const RUBase),
pub widget: extern "C" fn(self_c: *const RUBase) -> RUWidget,
pub layout: extern "C" fn(self_c: *const RUBase) -> RULayout,
pub spacer_item: extern "C" fn(self_c: *const RUBase) -> RUSpacerItem,
pub alignment: extern "C" fn(self_c: *const RUBase) -> u32,
pub set_alignment: extern "C" fn(self_c: *const RUBase, a: u32),
}
Fields
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
has_height_for_width: extern "C" fn(self_c: *const RUBase) -> bool
height_for_width: extern "C" fn(self_c: *const RUBase, arg0: i32) -> i32
minimum_height_for_width: extern "C" fn(self_c: *const RUBase, arg0: i32) -> i32
invalidate: extern "C" fn(self_c: *const RUBase)
widget: extern "C" fn(self_c: *const RUBase) -> RUWidget
layout: extern "C" fn(self_c: *const RUBase) -> RULayout
spacer_item: extern "C" fn(self_c: *const RUBase) -> RUSpacerItem
alignment: extern "C" fn(self_c: *const RUBase) -> u32
set_alignment: extern "C" fn(self_c: *const RUBase, a: u32)
Trait Implementations
sourceimpl Clone for RULayoutItemFuncs
impl Clone for RULayoutItemFuncs
sourcefn clone(&self) -> RULayoutItemFuncs
fn clone(&self) -> RULayoutItemFuncs
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 RULayoutItemFuncs
Auto Trait Implementations
impl RefUnwindSafe for RULayoutItemFuncs
impl Send for RULayoutItemFuncs
impl Sync for RULayoutItemFuncs
impl Unpin for RULayoutItemFuncs
impl UnwindSafe for RULayoutItemFuncs
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