Skip to main content

IGUILayoutEntryMethods

Trait IGUILayoutEntryMethods 

Source
pub trait IGUILayoutEntryMethods: IGUILayoutEntry {
Show 17 methods // Provided methods fn get_style(self) -> GUIStyle { ... } fn set_style(self, value: impl Into<GUIStyle>) { ... } 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 get_margin_horizontal(self) -> i32 { ... } fn get_margin_vertical(self) -> i32 { ... } fn ctor( self, min_width: impl Into<f32>, max_width: impl Into<f32>, min_height: impl Into<f32>, max_height: impl Into<f32>, style: impl Into<GUIStyle>, ) { ... } fn ctor_2( self, min_width: impl Into<f32>, max_width: impl Into<f32>, min_height: impl Into<f32>, max_height: impl Into<f32>, style: impl Into<GUIStyle>, options: impl Into<Array<GUILayoutOption>>, ) { ... } fn calc_width(self) { ... } fn calc_height(self) { ... } fn set_horizontal(self, x: impl Into<f32>, width: impl Into<f32>) { ... } fn set_vertical(self, y: impl Into<f32>, height: impl Into<f32>) { ... } fn apply_style_settings(self, style: impl Into<GUIStyle>) { ... } fn apply_options(self, options: impl Into<Array<GUILayoutOption>>) { ... } fn to_string(self) -> Il2CppString { ... }
}

Provided Methods§

Source

fn get_style(self) -> GUIStyle

get_style() overload

Source

fn set_style(self, value: impl Into<GUIStyle>)

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

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 get_margin_horizontal(self) -> i32

get_marginHorizontal() overload

Source

fn get_margin_vertical(self) -> i32

get_marginVertical() overload

Source

fn ctor( self, min_width: impl Into<f32>, max_width: impl Into<f32>, min_height: impl Into<f32>, max_height: impl Into<f32>, style: impl Into<GUIStyle>, )

.ctor(f32, f32, f32, f32, crate::unity_engine::guistyle::GUIStyle) overload

Source

fn ctor_2( self, min_width: impl Into<f32>, max_width: impl Into<f32>, min_height: impl Into<f32>, max_height: impl Into<f32>, style: impl Into<GUIStyle>, options: impl Into<Array<GUILayoutOption>>, )

.ctor(f32, f32, f32, f32, crate::unity_engine::guistyle::GUIStyle, ::unity::Array<crate::unity_engine::guilayoutoption::GUILayoutOption>) overload

Source

fn calc_width(self)

CalcWidth() overload

Source

fn calc_height(self)

CalcHeight() overload

Source

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

SetHorizontal(f32, f32) overload

Source

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

SetVertical(f32, f32) overload

Source

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

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

Source

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

ApplyOptions(::unity::Array<crate::unity_engine::guilayoutoption::GUILayoutOption>) 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: IGUILayoutEntry> IGUILayoutEntryMethods for __T

Available on crate feature unity_engine-guilayoutentry only.