Skip to main content

IILayoutElement_InterfaceMethods

Trait IILayoutElement_InterfaceMethods 

Source
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§

Source

fn calculate_layout_input_horizontal(self)

CalculateLayoutInputHorizontal() overload

Source

fn calculate_layout_input_vertical(self)

CalculateLayoutInputVertical() overload

Source

fn get_min_width(self) -> f32

get_minWidth() overload

Source

fn get_preferred_width(self) -> f32

get_preferredWidth() overload

Source

fn get_flexible_width(self) -> f32

get_flexibleWidth() overload

Source

fn get_min_height(self) -> f32

get_minHeight() overload

Source

fn get_preferred_height(self) -> f32

get_preferredHeight() overload

Source

fn get_flexible_height(self) -> f32

get_flexibleHeight() overload

Source

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§

Source§

impl<__T: IILayoutElement_Interface> IILayoutElement_InterfaceMethods for __T

Available on crate feature unity_engine-ui-ilayoutelement_interface only.