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§
Sourcefn set_style(self, value: impl Into<GUIStyle>)
fn set_style(self, value: impl Into<GUIStyle>)
set_style(crate::unity_engine::guistyle::GUIStyle) overload
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 get_margin_horizontal(self) -> i32
fn get_margin_horizontal(self) -> i32
get_marginHorizontal() overload
Sourcefn get_margin_vertical(self) -> i32
fn get_margin_vertical(self) -> i32
get_marginVertical() overload
Sourcefn 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( 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
Sourcefn 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 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
Sourcefn calc_width(self)
fn calc_width(self)
CalcWidth() overload
Sourcefn calc_height(self)
fn calc_height(self)
CalcHeight() 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 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 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 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 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: IGUILayoutEntry> IGUILayoutEntryMethods for __T
unity_engine-guilayoutentry only.