pub trait IHorizontalOrVerticalLayoutGroupMethods: IHorizontalOrVerticalLayoutGroup {
Show 20 methods
// Provided methods
fn get_spacing(self) -> f32 { ... }
fn set_spacing(self, value: impl Into<f32>) { ... }
fn get_child_force_expand_width(self) -> bool { ... }
fn set_child_force_expand_width(self, value: impl Into<bool>) { ... }
fn get_child_force_expand_height(self) -> bool { ... }
fn set_child_force_expand_height(self, value: impl Into<bool>) { ... }
fn get_child_control_width(self) -> bool { ... }
fn set_child_control_width(self, value: impl Into<bool>) { ... }
fn get_child_control_height(self) -> bool { ... }
fn set_child_control_height(self, value: impl Into<bool>) { ... }
fn get_child_scale_width(self) -> bool { ... }
fn set_child_scale_width(self, value: impl Into<bool>) { ... }
fn get_child_scale_height(self) -> bool { ... }
fn set_child_scale_height(self, value: impl Into<bool>) { ... }
fn get_reverse_arrangement(self) -> bool { ... }
fn set_reverse_arrangement(self, value: impl Into<bool>) { ... }
fn calc_along_axis(self, axis: impl Into<i32>, is_vertical: impl Into<bool>) { ... }
fn set_children_along_axis(
self,
axis: impl Into<i32>,
is_vertical: impl Into<bool>,
) { ... }
fn get_child_sizes(
self,
child: impl Into<RectTransform>,
axis: impl Into<i32>,
control_size: impl Into<bool>,
child_force_expand: impl Into<bool>,
) -> (f32, f32, f32) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_spacing(self) -> f32
fn get_spacing(self) -> f32
get_spacing() overload
Sourcefn set_spacing(self, value: impl Into<f32>)
fn set_spacing(self, value: impl Into<f32>)
set_spacing(f32) overload
Sourcefn get_child_force_expand_width(self) -> bool
fn get_child_force_expand_width(self) -> bool
get_childForceExpandWidth() overload
Sourcefn set_child_force_expand_width(self, value: impl Into<bool>)
fn set_child_force_expand_width(self, value: impl Into<bool>)
set_childForceExpandWidth(bool) overload
Sourcefn get_child_force_expand_height(self) -> bool
fn get_child_force_expand_height(self) -> bool
get_childForceExpandHeight() overload
Sourcefn set_child_force_expand_height(self, value: impl Into<bool>)
fn set_child_force_expand_height(self, value: impl Into<bool>)
set_childForceExpandHeight(bool) overload
Sourcefn get_child_control_width(self) -> bool
fn get_child_control_width(self) -> bool
get_childControlWidth() overload
Sourcefn set_child_control_width(self, value: impl Into<bool>)
fn set_child_control_width(self, value: impl Into<bool>)
set_childControlWidth(bool) overload
Sourcefn get_child_control_height(self) -> bool
fn get_child_control_height(self) -> bool
get_childControlHeight() overload
Sourcefn set_child_control_height(self, value: impl Into<bool>)
fn set_child_control_height(self, value: impl Into<bool>)
set_childControlHeight(bool) overload
Sourcefn get_child_scale_width(self) -> bool
fn get_child_scale_width(self) -> bool
get_childScaleWidth() overload
Sourcefn set_child_scale_width(self, value: impl Into<bool>)
fn set_child_scale_width(self, value: impl Into<bool>)
set_childScaleWidth(bool) overload
Sourcefn get_child_scale_height(self) -> bool
fn get_child_scale_height(self) -> bool
get_childScaleHeight() overload
Sourcefn set_child_scale_height(self, value: impl Into<bool>)
fn set_child_scale_height(self, value: impl Into<bool>)
set_childScaleHeight(bool) overload
Sourcefn get_reverse_arrangement(self) -> bool
fn get_reverse_arrangement(self) -> bool
get_reverseArrangement() overload
Sourcefn set_reverse_arrangement(self, value: impl Into<bool>)
fn set_reverse_arrangement(self, value: impl Into<bool>)
set_reverseArrangement(bool) overload
Sourcefn calc_along_axis(self, axis: impl Into<i32>, is_vertical: impl Into<bool>)
fn calc_along_axis(self, axis: impl Into<i32>, is_vertical: impl Into<bool>)
CalcAlongAxis(i32, bool) overload
Sourcefn set_children_along_axis(
self,
axis: impl Into<i32>,
is_vertical: impl Into<bool>,
)
fn set_children_along_axis( self, axis: impl Into<i32>, is_vertical: impl Into<bool>, )
SetChildrenAlongAxis(i32, bool) overload
Sourcefn get_child_sizes(
self,
child: impl Into<RectTransform>,
axis: impl Into<i32>,
control_size: impl Into<bool>,
child_force_expand: impl Into<bool>,
) -> (f32, f32, f32)
fn get_child_sizes( self, child: impl Into<RectTransform>, axis: impl Into<i32>, control_size: impl Into<bool>, child_force_expand: impl Into<bool>, ) -> (f32, f32, f32)
GetChildSizes(crate::unity_engine::recttransform::RectTransform, i32, bool, bool, *mutf32, *mutf32, *mutf32) 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: IHorizontalOrVerticalLayoutGroup> IHorizontalOrVerticalLayoutGroupMethods for __T
unity_engine-ui-horizontalorverticallayoutgroup only.