pub trait IILayoutElement_InterfaceMethods: IILayoutElement_Interface {
// Provided methods
fn calculate_layout_input_horizontal(self) { ... }
fn calculate_layout_input_vertical(self) { ... }
fn get_min_width(self) -> f32 { ... }
fn get_preferred_width(self) -> f32 { ... }
fn get_flexible_width(self) -> f32 { ... }
fn get_min_height(self) -> f32 { ... }
fn get_preferred_height(self) -> f32 { ... }
fn get_flexible_height(self) -> f32 { ... }
fn get_layout_priority(self) -> i32 { ... }
}Provided Methods§
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 get_preferred_width(self) -> f32
fn get_preferred_width(self) -> f32
get_preferredWidth() overload
Sourcefn get_flexible_width(self) -> f32
fn get_flexible_width(self) -> f32
get_flexibleWidth() overload
Sourcefn get_min_height(self) -> f32
fn get_min_height(self) -> f32
get_minHeight() overload
Sourcefn get_preferred_height(self) -> f32
fn get_preferred_height(self) -> f32
get_preferredHeight() overload
Sourcefn get_flexible_height(self) -> f32
fn get_flexible_height(self) -> f32
get_flexibleHeight() overload
Sourcefn get_layout_priority(self) -> i32
fn get_layout_priority(self) -> i32
get_layoutPriority() 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: IILayoutElement_Interface> IILayoutElement_InterfaceMethods for __T
Available on crate feature
unity_engine-ui-ilayoutelement_interface only.