Skip to main content

IGUILayoutGroupMethods

Trait IGUILayoutGroupMethods 

Source
pub trait IGUILayoutGroupMethods: IGUILayoutGroup {
Show 15 methods // Provided methods fn get_margin_left(self) -> i32 { ... } fn get_margin_right(self) -> i32 { ... } fn get_margin_top(self) -> i32 { ... } fn get_margin_bottom(self) -> i32 { ... } fn ctor(self) { ... } fn apply_options(self, options: impl Into<Array<GUILayoutOption>>) { ... } fn apply_style_settings(self, style: impl Into<GUIStyle>) { ... } fn reset_cursor(self) { ... } fn get_next(self) -> GUILayoutEntry { ... } fn add(self, e: impl Into<GUILayoutEntry>) { ... } fn calc_width(self) { ... } fn set_horizontal(self, x: impl Into<f32>, width: impl Into<f32>) { ... } fn calc_height(self) { ... } fn set_vertical(self, y: impl Into<f32>, height: impl Into<f32>) { ... } fn to_string(self) -> Il2CppString { ... }
}

Provided Methods§

Source

fn get_margin_left(self) -> i32

get_marginLeft() overload

Source

fn get_margin_right(self) -> i32

get_marginRight() overload

Source

fn get_margin_top(self) -> i32

get_marginTop() overload

Source

fn get_margin_bottom(self) -> i32

get_marginBottom() overload

Source

fn ctor(self)

.ctor() overload

Source

fn apply_options(self, options: impl Into<Array<GUILayoutOption>>)

ApplyOptions(::unity::Array<crate::unity_engine::guilayoutoption::GUILayoutOption>) overload

Source

fn apply_style_settings(self, style: impl Into<GUIStyle>)

ApplyStyleSettings(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn reset_cursor(self)

ResetCursor() overload

Source

fn get_next(self) -> GUILayoutEntry

GetNext() overload

Source

fn add(self, e: impl Into<GUILayoutEntry>)

Add(crate::unity_engine::guilayoutentry::GUILayoutEntry) overload

Source

fn calc_width(self)

CalcWidth() overload

Source

fn set_horizontal(self, x: impl Into<f32>, width: impl Into<f32>)

SetHorizontal(f32, f32) overload

Source

fn calc_height(self)

CalcHeight() overload

Source

fn set_vertical(self, y: impl Into<f32>, height: impl Into<f32>)

SetVertical(f32, f32) overload

Source

fn to_string(self) -> Il2CppString

ToString() 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: IGUILayoutGroup> IGUILayoutGroupMethods for __T

Available on crate feature unity_engine-guilayoutgroup only.