Enum LayoutDirection
#[repr(i32)]pub enum LayoutDirection {
DirectionX = 0,
DirectionY = 1,
DirectionZ = 2,
}Expand description
Legacy version of enum “kanzi.StackLayoutConcept.LayoutDirection”. Direction in which stack layout arranges its items.
Variants§
DirectionX = 0
< Arrange items along the x axis.
DirectionY = 1
< Arrange items along the y axis.
DirectionZ = 2
< Arrange items along the z axis.
Implementations§
§impl LayoutDirection
impl LayoutDirection
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> LayoutDirection
Trait Implementations§
§impl Clone for LayoutDirection
impl Clone for LayoutDirection
§fn clone(&self) -> LayoutDirection
fn clone(&self) -> LayoutDirection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for LayoutDirection
impl Debug for LayoutDirection
§impl Display for LayoutDirection
impl Display for LayoutDirection
§impl PartialEq for LayoutDirection
impl PartialEq for LayoutDirection
§impl VariantConstraint for LayoutDirection
impl VariantConstraint for LayoutDirection
§type DataArg<'a> = LayoutDirection
type DataArg<'a> = LayoutDirection
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§type RetArg = LayoutDirection
type RetArg = LayoutDirection
§fn as_arg(&self) -> <LayoutDirection as VariantConstraint>::DataArg<'_>
fn as_arg(&self) -> <LayoutDirection as VariantConstraint>::DataArg<'_>
impl Copy for LayoutDirection
impl Eq for LayoutDirection
impl PropertyTypeConstraint for LayoutDirection
impl StructuralPartialEq for LayoutDirection
Auto Trait Implementations§
impl Freeze for LayoutDirection
impl RefUnwindSafe for LayoutDirection
impl Send for LayoutDirection
impl Sync for LayoutDirection
impl Unpin for LayoutDirection
impl UnwindSafe for LayoutDirection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more