Skip to main content

IHorizontalOrVerticalLayoutGroupMethods

Trait IHorizontalOrVerticalLayoutGroupMethods 

Source
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§

Source

fn get_spacing(self) -> f32

get_spacing() overload

Source

fn set_spacing(self, value: impl Into<f32>)

set_spacing(f32) overload

Source

fn get_child_force_expand_width(self) -> bool

get_childForceExpandWidth() overload

Source

fn set_child_force_expand_width(self, value: impl Into<bool>)

set_childForceExpandWidth(bool) overload

Source

fn get_child_force_expand_height(self) -> bool

get_childForceExpandHeight() overload

Source

fn set_child_force_expand_height(self, value: impl Into<bool>)

set_childForceExpandHeight(bool) overload

Source

fn get_child_control_width(self) -> bool

get_childControlWidth() overload

Source

fn set_child_control_width(self, value: impl Into<bool>)

set_childControlWidth(bool) overload

Source

fn get_child_control_height(self) -> bool

get_childControlHeight() overload

Source

fn set_child_control_height(self, value: impl Into<bool>)

set_childControlHeight(bool) overload

Source

fn get_child_scale_width(self) -> bool

get_childScaleWidth() overload

Source

fn set_child_scale_width(self, value: impl Into<bool>)

set_childScaleWidth(bool) overload

Source

fn get_child_scale_height(self) -> bool

get_childScaleHeight() overload

Source

fn set_child_scale_height(self, value: impl Into<bool>)

set_childScaleHeight(bool) overload

Source

fn get_reverse_arrangement(self) -> bool

get_reverseArrangement() overload

Source

fn set_reverse_arrangement(self, value: impl Into<bool>)

set_reverseArrangement(bool) overload

Source

fn calc_along_axis(self, axis: impl Into<i32>, is_vertical: impl Into<bool>)

CalcAlongAxis(i32, bool) overload

Source

fn set_children_along_axis( self, axis: impl Into<i32>, is_vertical: impl Into<bool>, )

SetChildrenAlongAxis(i32, bool) overload

Source

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

Source

fn ctor(self)

.ctor() 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: IHorizontalOrVerticalLayoutGroup> IHorizontalOrVerticalLayoutGroupMethods for __T

Available on crate feature unity_engine-ui-horizontalorverticallayoutgroup only.