Enum tuix::Property[]

pub enum Property {
Show 63 variants None, Unknown(StringPropType), Display(Display), Visibility(Visibility), Overflow(Overflow), Opacity(f32), LayoutType(LayoutType), PositionType(PositionType), Space(Units), Left(Units), Width(Units), Right(Units), Top(Units), Height(Units), Bottom(Units), MinLeft(Units), MaxLeft(Units), MinWidth(Units), MaxWidth(Units), MinRight(Units), MaxRight(Units), MinTop(Units), MaxTop(Units), MinHeight(Units), MaxHeight(Units), MinBottom(Units), MaxBottom(Units), ChildSpace(Units), ChildLeft(Units), ChildRight(Units), ChildTop(Units), ChildBottom(Units), RowBetween(Units), ColBetween(Units), BorderRadius(Units), BorderTopLeftRadius(Units), BorderTopRightRadius(Units), BorderBottomLeftRadius(Units), BorderBottomRightRadius(Units), BorderWidth(Units), BorderColor(Color), BorderCornerShape(BorderCornerShape), BorderTopLeftShape(BorderCornerShape), BorderTopRightShape(BorderCornerShape), BorderBottomLeftShape(BorderCornerShape), BorderBottomRightShape(BorderCornerShape), BackgroundColor(Color), BackgroundImage(String), BackgroundGradient(LinearGradient), FontSize(f32), FontColor(Color), OuterShadow(BoxShadow), OuterShadowHOffset(Units), OuterShadowVOffset(Units), OuterShadowBlur(Units), OuterShadowColor(Color), InnerShadow(BoxShadow), InnerShadowHOffset(Units), InnerShadowVOffset(Units), InnerShadowBlur(Units), InnerShadowColor(Color), Transition(Vec<Transition, Global>), ZIndex(i32),
}

Variants

None
Unknown(StringPropType)

Tuple Fields of Unknown

0: String1: PropType
Display(Display)

Tuple Fields of Display

0: Display
Visibility(Visibility)

Tuple Fields of Visibility

0: Visibility
Overflow(Overflow)

Tuple Fields of Overflow

0: Overflow
Opacity(f32)

Tuple Fields of Opacity

0: f32
LayoutType(LayoutType)

Tuple Fields of LayoutType

0: LayoutType
PositionType(PositionType)

Tuple Fields of PositionType

0: PositionType
Space(Units)

Tuple Fields of Space

0: Units
Left(Units)

Tuple Fields of Left

0: Units
Width(Units)

Tuple Fields of Width

0: Units
Right(Units)

Tuple Fields of Right

0: Units
Top(Units)

Tuple Fields of Top

0: Units
Height(Units)

Tuple Fields of Height

0: Units
Bottom(Units)

Tuple Fields of Bottom

0: Units
MinLeft(Units)

Tuple Fields of MinLeft

0: Units
MaxLeft(Units)

Tuple Fields of MaxLeft

0: Units
MinWidth(Units)

Tuple Fields of MinWidth

0: Units
MaxWidth(Units)

Tuple Fields of MaxWidth

0: Units
MinRight(Units)

Tuple Fields of MinRight

0: Units
MaxRight(Units)

Tuple Fields of MaxRight

0: Units
MinTop(Units)

Tuple Fields of MinTop

0: Units
MaxTop(Units)

Tuple Fields of MaxTop

0: Units
MinHeight(Units)

Tuple Fields of MinHeight

0: Units
MaxHeight(Units)

Tuple Fields of MaxHeight

0: Units
MinBottom(Units)

Tuple Fields of MinBottom

0: Units
MaxBottom(Units)

Tuple Fields of MaxBottom

0: Units
ChildSpace(Units)

Tuple Fields of ChildSpace

0: Units
ChildLeft(Units)

Tuple Fields of ChildLeft

0: Units
ChildRight(Units)

Tuple Fields of ChildRight

0: Units
ChildTop(Units)

Tuple Fields of ChildTop

0: Units
ChildBottom(Units)

Tuple Fields of ChildBottom

0: Units
RowBetween(Units)

Tuple Fields of RowBetween

0: Units
ColBetween(Units)

Tuple Fields of ColBetween

0: Units
BorderRadius(Units)

Tuple Fields of BorderRadius

0: Units
BorderTopLeftRadius(Units)

Tuple Fields of BorderTopLeftRadius

0: Units
BorderTopRightRadius(Units)

Tuple Fields of BorderTopRightRadius

0: Units
BorderBottomLeftRadius(Units)

Tuple Fields of BorderBottomLeftRadius

0: Units
BorderBottomRightRadius(Units)

Tuple Fields of BorderBottomRightRadius

0: Units
BorderWidth(Units)

Tuple Fields of BorderWidth

0: Units
BorderColor(Color)

Tuple Fields of BorderColor

0: Color
BorderCornerShape(BorderCornerShape)

Tuple Fields of BorderCornerShape

0: BorderCornerShape
BorderTopLeftShape(BorderCornerShape)

Tuple Fields of BorderTopLeftShape

0: BorderCornerShape
BorderTopRightShape(BorderCornerShape)

Tuple Fields of BorderTopRightShape

0: BorderCornerShape
BorderBottomLeftShape(BorderCornerShape)

Tuple Fields of BorderBottomLeftShape

0: BorderCornerShape
BorderBottomRightShape(BorderCornerShape)

Tuple Fields of BorderBottomRightShape

0: BorderCornerShape
BackgroundColor(Color)

Tuple Fields of BackgroundColor

0: Color
BackgroundImage(String)

Tuple Fields of BackgroundImage

0: String
BackgroundGradient(LinearGradient)

Tuple Fields of BackgroundGradient

0: LinearGradient
FontSize(f32)

Tuple Fields of FontSize

0: f32
FontColor(Color)

Tuple Fields of FontColor

0: Color
OuterShadow(BoxShadow)

Tuple Fields of OuterShadow

0: BoxShadow
OuterShadowHOffset(Units)

Tuple Fields of OuterShadowHOffset

0: Units
OuterShadowVOffset(Units)

Tuple Fields of OuterShadowVOffset

0: Units
OuterShadowBlur(Units)

Tuple Fields of OuterShadowBlur

0: Units
OuterShadowColor(Color)

Tuple Fields of OuterShadowColor

0: Color
InnerShadow(BoxShadow)

Tuple Fields of InnerShadow

0: BoxShadow
InnerShadowHOffset(Units)

Tuple Fields of InnerShadowHOffset

0: Units
InnerShadowVOffset(Units)

Tuple Fields of InnerShadowVOffset

0: Units
InnerShadowBlur(Units)

Tuple Fields of InnerShadowBlur

0: Units
InnerShadowColor(Color)

Tuple Fields of InnerShadowColor

0: Color
Transition(Vec<Transition, Global>)

Tuple Fields of Transition

0: Vec<Transition, Global>
ZIndex(i32)

Tuple Fields of ZIndex

0: i32

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.