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§
Sourcefn get_margin_left(self) -> i32
fn get_margin_left(self) -> i32
get_marginLeft() overload
Sourcefn get_margin_right(self) -> i32
fn get_margin_right(self) -> i32
get_marginRight() overload
Sourcefn get_margin_top(self) -> i32
fn get_margin_top(self) -> i32
get_marginTop() overload
Sourcefn get_margin_bottom(self) -> i32
fn get_margin_bottom(self) -> i32
get_marginBottom() overload
Sourcefn apply_options(self, options: impl Into<Array<GUILayoutOption>>)
fn apply_options(self, options: impl Into<Array<GUILayoutOption>>)
ApplyOptions(::unity::Array<crate::unity_engine::guilayoutoption::GUILayoutOption>) overload
Sourcefn apply_style_settings(self, style: impl Into<GUIStyle>)
fn apply_style_settings(self, style: impl Into<GUIStyle>)
ApplyStyleSettings(crate::unity_engine::guistyle::GUIStyle) overload
Sourcefn reset_cursor(self)
fn reset_cursor(self)
ResetCursor() overload
Sourcefn get_next(self) -> GUILayoutEntry
fn get_next(self) -> GUILayoutEntry
GetNext() overload
Sourcefn add(self, e: impl Into<GUILayoutEntry>)
fn add(self, e: impl Into<GUILayoutEntry>)
Add(crate::unity_engine::guilayoutentry::GUILayoutEntry) overload
Sourcefn calc_width(self)
fn calc_width(self)
CalcWidth() overload
Sourcefn set_horizontal(self, x: impl Into<f32>, width: impl Into<f32>)
fn set_horizontal(self, x: impl Into<f32>, width: impl Into<f32>)
SetHorizontal(f32, f32) overload
Sourcefn calc_height(self)
fn calc_height(self)
CalcHeight() overload
Sourcefn set_vertical(self, y: impl Into<f32>, height: impl Into<f32>)
fn set_vertical(self, y: impl Into<f32>, height: impl Into<f32>)
SetVertical(f32, f32) overload
Sourcefn to_string(self) -> Il2CppString
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§
impl<__T: IGUILayoutGroup> IGUILayoutGroupMethods for __T
Available on crate feature
unity_engine-guilayoutgroup only.