pub trait ILayoutElementMethods: ILayoutElement {
Show 25 methods
// Provided methods
fn get_ignore_layout(self) -> bool { ... }
fn set_ignore_layout(self, value: impl Into<bool>) { ... }
fn calculate_layout_input_horizontal(self) { ... }
fn calculate_layout_input_vertical(self) { ... }
fn get_min_width(self) -> f32 { ... }
fn set_min_width(self, value: impl Into<f32>) { ... }
fn get_min_height(self) -> f32 { ... }
fn set_min_height(self, value: impl Into<f32>) { ... }
fn get_preferred_width(self) -> f32 { ... }
fn set_preferred_width(self, value: impl Into<f32>) { ... }
fn get_preferred_height(self) -> f32 { ... }
fn set_preferred_height(self, value: impl Into<f32>) { ... }
fn get_flexible_width(self) -> f32 { ... }
fn set_flexible_width(self, value: impl Into<f32>) { ... }
fn get_flexible_height(self) -> f32 { ... }
fn set_flexible_height(self, value: impl Into<f32>) { ... }
fn get_layout_priority(self) -> i32 { ... }
fn set_layout_priority(self, value: impl Into<i32>) { ... }
fn ctor(self) { ... }
fn on_enable(self) { ... }
fn on_transform_parent_changed(self) { ... }
fn on_disable(self) { ... }
fn on_did_apply_animation_properties(self) { ... }
fn on_before_transform_parent_changed(self) { ... }
fn set_dirty(self) { ... }
}Provided Methods§
Sourcefn get_ignore_layout(self) -> bool
fn get_ignore_layout(self) -> bool
get_ignoreLayout() overload
Sourcefn set_ignore_layout(self, value: impl Into<bool>)
fn set_ignore_layout(self, value: impl Into<bool>)
set_ignoreLayout(bool) overload
Sourcefn calculate_layout_input_horizontal(self)
fn calculate_layout_input_horizontal(self)
CalculateLayoutInputHorizontal() overload
Sourcefn calculate_layout_input_vertical(self)
fn calculate_layout_input_vertical(self)
CalculateLayoutInputVertical() overload
Sourcefn get_min_width(self) -> f32
fn get_min_width(self) -> f32
get_minWidth() overload
Sourcefn set_min_width(self, value: impl Into<f32>)
fn set_min_width(self, value: impl Into<f32>)
set_minWidth(f32) overload
Sourcefn get_min_height(self) -> f32
fn get_min_height(self) -> f32
get_minHeight() overload
Sourcefn set_min_height(self, value: impl Into<f32>)
fn set_min_height(self, value: impl Into<f32>)
set_minHeight(f32) overload
Sourcefn get_preferred_width(self) -> f32
fn get_preferred_width(self) -> f32
get_preferredWidth() overload
Sourcefn set_preferred_width(self, value: impl Into<f32>)
fn set_preferred_width(self, value: impl Into<f32>)
set_preferredWidth(f32) overload
Sourcefn get_preferred_height(self) -> f32
fn get_preferred_height(self) -> f32
get_preferredHeight() overload
Sourcefn set_preferred_height(self, value: impl Into<f32>)
fn set_preferred_height(self, value: impl Into<f32>)
set_preferredHeight(f32) overload
Sourcefn get_flexible_width(self) -> f32
fn get_flexible_width(self) -> f32
get_flexibleWidth() overload
Sourcefn set_flexible_width(self, value: impl Into<f32>)
fn set_flexible_width(self, value: impl Into<f32>)
set_flexibleWidth(f32) overload
Sourcefn get_flexible_height(self) -> f32
fn get_flexible_height(self) -> f32
get_flexibleHeight() overload
Sourcefn set_flexible_height(self, value: impl Into<f32>)
fn set_flexible_height(self, value: impl Into<f32>)
set_flexibleHeight(f32) overload
Sourcefn get_layout_priority(self) -> i32
fn get_layout_priority(self) -> i32
get_layoutPriority() overload
Sourcefn set_layout_priority(self, value: impl Into<i32>)
fn set_layout_priority(self, value: impl Into<i32>)
set_layoutPriority(i32) overload
Sourcefn on_transform_parent_changed(self)
fn on_transform_parent_changed(self)
OnTransformParentChanged() overload
Sourcefn on_disable(self)
fn on_disable(self)
OnDisable() overload
Sourcefn on_did_apply_animation_properties(self)
fn on_did_apply_animation_properties(self)
OnDidApplyAnimationProperties() overload
Sourcefn on_before_transform_parent_changed(self)
fn on_before_transform_parent_changed(self)
OnBeforeTransformParentChanged() overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: ILayoutElement> ILayoutElementMethods for __T
unity_engine-ui-layoutelement only.