#[repr(C)]
pub struct RULayoutFuncs {
Show 36 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: i32) -> bool, pub set_alignment_2: extern "C" fn(self_c: *const RUBase, l: *const RUBase, alignment: i32) -> 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) -> i32, 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: i32) -> 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_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) -> i32spacing: extern "C" fn(self_c: *const RUBase) -> i32set_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) -> RUMarginscontents_rect: extern "C" fn(self_c: *const RUBase) -> RURectset_alignment: extern "C" fn(self_c: *const RUBase, w: *const RUBase, alignment: i32) -> boolset_alignment_2: extern "C" fn(self_c: *const RUBase, l: *const RUBase, alignment: i32) -> boolset_menu_bar: extern "C" fn(self_c: *const RUBase, w: *const RUBase)menu_bar: extern "C" fn(self_c: *const RUBase) -> RUWidgetparent_widget: extern "C" fn(self_c: *const RUBase) -> RUWidgetinvalidate: extern "C" fn(self_c: *const RUBase)activate: extern "C" fn(self_c: *const RUBase) -> boolupdate: 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) -> i32minimum_size: extern "C" fn(self_c: *const RUBase) -> RUSizemaximum_size: extern "C" fn(self_c: *const RUBase) -> RUSizeitem_at: extern "C" fn(self_c: *const RUBase, index: i32) -> RULayoutItemtake_at: extern "C" fn(self_c: *const RUBase, index: i32) -> RULayoutItemindex_of: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> i32count: extern "C" fn(self_c: *const RUBase) -> i32is_empty: extern "C" fn(self_c: *const RUBase) -> boolreplace_widget: extern "C" fn(self_c: *const RUBase, from: *const RUBase, to: *const RUBase, options: i32) -> RULayoutItemtotal_height_for_width: extern "C" fn(self_c: *const RUBase, w: i32) -> i32total_minimum_size: extern "C" fn(self_c: *const RUBase) -> RUSizetotal_maximum_size: extern "C" fn(self_c: *const RUBase) -> RUSizetotal_size_hint: extern "C" fn(self_c: *const RUBase) -> RUSizelayout: extern "C" fn(self_c: *const RUBase) -> RULayoutset_enabled: extern "C" fn(self_c: *const RUBase, arg0: bool)is_enabled: extern "C" fn(self_c: *const RUBase) -> bool

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.