Struct rute::auto::layout_ffi::RULayoutFuncs
source · #[repr(C)]pub struct RULayoutFuncs {Show 38 fields
pub margin: extern "C" fn(self_c: *const RUBase) -> i32,
pub spacing: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_margin: extern "C" fn(self_c: *const RUBase, arg0: i32),
pub set_spacing: extern "C" fn(self_c: *const RUBase, arg0: i32),
pub set_contents_margins: extern "C" fn(self_c: *const RUBase, left: i32, top: i32, right: i32, bottom: i32),
pub set_contents_margins_2: extern "C" fn(self_c: *const RUBase, margins: *const RUBase),
pub contents_margins: extern "C" fn(self_c: *const RUBase) -> RUMargins,
pub contents_rect: extern "C" fn(self_c: *const RUBase) -> RURect,
pub set_alignment: extern "C" fn(self_c: *const RUBase, w: *const RUBase, alignment: u32) -> bool,
pub set_alignment_2: extern "C" fn(self_c: *const RUBase, l: *const RUBase, alignment: u32) -> bool,
pub set_menu_bar: extern "C" fn(self_c: *const RUBase, w: *const RUBase),
pub menu_bar: extern "C" fn(self_c: *const RUBase) -> RUWidget,
pub parent_widget: extern "C" fn(self_c: *const RUBase) -> RUWidget,
pub invalidate: extern "C" fn(self_c: *const RUBase),
pub activate: extern "C" fn(self_c: *const RUBase) -> bool,
pub update: extern "C" fn(self_c: *const RUBase),
pub add_widget: extern "C" fn(self_c: *const RUBase, w: *const RUBase),
pub add_item: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub remove_widget: extern "C" fn(self_c: *const RUBase, w: *const RUBase),
pub remove_item: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
pub expanding_directions: extern "C" fn(self_c: *const RUBase) -> u32,
pub minimum_size: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub maximum_size: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub item_at: extern "C" fn(self_c: *const RUBase, index: i32) -> RULayoutItem,
pub take_at: extern "C" fn(self_c: *const RUBase, index: i32) -> RULayoutItem,
pub index_of: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> i32,
pub count: extern "C" fn(self_c: *const RUBase) -> i32,
pub is_empty: extern "C" fn(self_c: *const RUBase) -> bool,
pub replace_widget: extern "C" fn(self_c: *const RUBase, from: *const RUBase, to: *const RUBase, options: u32) -> RULayoutItem,
pub total_height_for_width: extern "C" fn(self_c: *const RUBase, w: i32) -> i32,
pub total_minimum_size: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub total_maximum_size: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub total_size_hint: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub layout: extern "C" fn(self_c: *const RUBase) -> RULayout,
pub set_size_constraint: extern "C" fn(self_c: *const RUBase, constraint: u32),
pub size_constraint: extern "C" fn(self_c: *const RUBase) -> u32,
pub set_enabled: extern "C" fn(self_c: *const RUBase, arg0: bool),
pub is_enabled: extern "C" fn(self_c: *const RUBase) -> bool,
}
Fields
margin: extern "C" fn(self_c: *const RUBase) -> i32
spacing: extern "C" fn(self_c: *const RUBase) -> i32
set_margin: extern "C" fn(self_c: *const RUBase, arg0: i32)
set_spacing: extern "C" fn(self_c: *const RUBase, arg0: i32)
set_contents_margins: extern "C" fn(self_c: *const RUBase, left: i32, top: i32, right: i32, bottom: i32)
set_contents_margins_2: extern "C" fn(self_c: *const RUBase, margins: *const RUBase)
contents_margins: extern "C" fn(self_c: *const RUBase) -> RUMargins
contents_rect: extern "C" fn(self_c: *const RUBase) -> RURect
set_alignment: extern "C" fn(self_c: *const RUBase, w: *const RUBase, alignment: u32) -> bool
set_alignment_2: extern "C" fn(self_c: *const RUBase, l: *const RUBase, alignment: u32) -> bool
parent_widget: extern "C" fn(self_c: *const RUBase) -> RUWidget
invalidate: extern "C" fn(self_c: *const RUBase)
activate: extern "C" fn(self_c: *const RUBase) -> bool
update: extern "C" fn(self_c: *const RUBase)
add_widget: extern "C" fn(self_c: *const RUBase, w: *const RUBase)
add_item: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
remove_widget: extern "C" fn(self_c: *const RUBase, w: *const RUBase)
remove_item: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)
expanding_directions: extern "C" fn(self_c: *const RUBase) -> u32
minimum_size: extern "C" fn(self_c: *const RUBase) -> RUSize
maximum_size: extern "C" fn(self_c: *const RUBase) -> RUSize
item_at: extern "C" fn(self_c: *const RUBase, index: i32) -> RULayoutItem
take_at: extern "C" fn(self_c: *const RUBase, index: i32) -> RULayoutItem
index_of: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> i32
count: extern "C" fn(self_c: *const RUBase) -> i32
is_empty: extern "C" fn(self_c: *const RUBase) -> bool
replace_widget: extern "C" fn(self_c: *const RUBase, from: *const RUBase, to: *const RUBase, options: u32) -> RULayoutItem
total_height_for_width: extern "C" fn(self_c: *const RUBase, w: i32) -> i32
total_minimum_size: extern "C" fn(self_c: *const RUBase) -> RUSize
total_maximum_size: extern "C" fn(self_c: *const RUBase) -> RUSize
total_size_hint: extern "C" fn(self_c: *const RUBase) -> RUSize
layout: extern "C" fn(self_c: *const RUBase) -> RULayout
set_size_constraint: extern "C" fn(self_c: *const RUBase, constraint: u32)
size_constraint: extern "C" fn(self_c: *const RUBase) -> u32
set_enabled: extern "C" fn(self_c: *const RUBase, arg0: bool)
is_enabled: extern "C" fn(self_c: *const RUBase) -> bool
Trait Implementations
sourceimpl Clone for RULayoutFuncs
impl Clone for RULayoutFuncs
sourcefn clone(&self) -> RULayoutFuncs
fn clone(&self) -> RULayoutFuncs
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 RULayoutFuncs
Auto Trait Implementations
impl RefUnwindSafe for RULayoutFuncs
impl Send for RULayoutFuncs
impl Sync for RULayoutFuncs
impl Unpin for RULayoutFuncs
impl UnwindSafe for RULayoutFuncs
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