pub enum Property {
Show 176 variants Raw(String), FlexWrap(FlexWrap), FlexDirection(FlexDirection), JustifyContent(JustifyContent), AlignItems(AlignItems), AlignContent(AlignContent), AlignSelf(AlignSelf), JustifyItems(JustifyItems), JustifySelf(JustifySelf), FlexBasis(FlexBasis), FlexGrow(FlexGrow), FlexShrink(FlexShrink), Order(Order), Position(Position), Display(Display), BoxSizing(BoxSizing), Visibility(Visibility), ZIndex(ZIndex), OverflowX(OverflowX), OverflowY(OverflowY), Direction(Direction), UnicodeBidi(UnicodeBidi), WhiteSpace(WhiteSpace), WritingMode(WritingMode), HangingPunctuation(HangingPunctuation), Hyphens(Hyphens), TextAlign(TextAlign), TextAlignLast(TextAlignLast), TextJustify(TextJustify), FontStretch(FontStretch), UserSelect(UserSelect), ScrollBehavior(ScrollBehavior), PointerEvents(PointerEvents), TouchAction(TouchAction), Resize(Resize), ObjectFit(ObjectFit), ListStyleType(ListStyleType), ListStyleImage(ListStyleImage), ListStylePosition(ListStylePosition), BreakAfter(BreakAfter), BreakBefore(BreakBefore), BreakInside(BreakInside), FontVariant(FontVariant), WordBreak(WordBreak), WordWrap(WordWrap), FontStyle(FontStyle), TransformStyle(TransformStyle), BackgroundBlendMode(BackgroundBlendMode), MixBlendMode(MixBlendMode), Isolation(Isolation), CaptionSide(CaptionSide), EmptyCells(EmptyCells), TableLayout(TableLayout), BorderCollapse(BorderCollapse), All(All), FontWeight(FontWeight), FontSize(FontSize), BackgroundRepeat(BackgroundRepeat), BackgroundAttachment(BackgroundAttachment), Cursor(Cursor), TextTransform(TextTransform), TextShadow(TextShadow), FontKerning(FontKerning), FontFamily(FontFamily), WordSpacing(WordSpacing), TextOverflow(TextOverflow), VerticalAlign(VerticalAlign), LineHeight(LineHeight), LetterSpacing(LetterSpacing), TabSize(TabSize), BoxDecorationBreak(BoxDecorationBreak), OutlineWidth(OutlineWidth), OutlineStyle(OutlineStyle), Content(Content), Opacity(Opacity), Perspective(Perspective), BackfaceVisibility(BackfaceVisibility), TextDecorationStyle(TextDecorationStyle), TextDecorationLine(TextDecorationLine), TextRendering(TextRendering), VectorEffect(VectorEffect), AlignmentBaseline(AlignmentBaseline), DominantBaseline(DominantBaseline), TextAnchor(TextAnchor), StrokeLinecap(StrokeLinecap), BackgroundImage(BackgroundImage), BackgroundSize(BackgroundSize), AnimationDirection(AnimationDirection), AnimationFillMode(AnimationFillMode), AnimationIterationCount(AnimationIterationCount), AnimationName(AnimationName), AnimationPlayState(AnimationPlayState), AnimationTimingFunction(AnimationTimingFunction), AnimationDuration(AnimationDuration), AnimationDelay(AnimationDelay), TransitionProperty(TransitionProperty), TransitionTimingFunction(TransitionTimingFunction), TransitionDuration(TransitionDuration), TransitionDelay(TransitionDelay), Transform(Transform), Filter(Filter), BorderImageSource(BorderImageSource), BorderImageSlice(BorderImageSlice), BorderImageWidth(BorderImageWidth), BorderImageOutset(BorderImageOutset), BorderImageRepeat(BorderImageRepeat), ClipPath(ClipPath), BackgroundOrigin(BackgroundOrigin), BackgroundClip(BackgroundClip), GridAutoFlow(GridAutoFlow), RowGap(RowGap), ColumnGap(ColumnGap), GridGap(GridGap), OverflowWrap(OverflowWrap), BoxShadow(BoxShadow), TransformOrigin(TransformOrigin), Appearance(Appearance), MaskImage(MaskImage), MaskSize(MaskSize), Float(Float), Clear(Clear), AspectRatio(AspectRatio), OverflowAnchor(OverflowAnchor), MarginLeft(Margin), MarginRight(Margin), MarginTop(Margin), MarginBottom(Margin), PaddingLeft(UnitValue), PaddingRight(UnitValue), PaddingTop(UnitValue), PaddingBottom(UnitValue), Width(DimensionExtremity), Height(DimensionExtremity), MinWidth(DimensionExtremity), MaxWidth(DimensionExtremity), MinHeight(DimensionExtremity), MaxHeight(DimensionExtremity), Top(Dimension), Right(Dimension), Left(Dimension), Bottom(Dimension), BorderLeftColor(ColorValue), BorderRightColor(ColorValue), BorderTopColor(ColorValue), BorderBottomColor(ColorValue), BorderLeftStyle(BorderStyle), BorderRightStyle(BorderStyle), BorderTopStyle(BorderStyle), BorderBottomStyle(BorderStyle), BorderLeftWidth(BorderWidth), BorderRightWidth(BorderWidth), BorderTopWidth(BorderWidth), BorderBottomWidth(BorderWidth), BorderTopLeftRadius(UnitValue), BorderTopRightRadius(UnitValue), BorderBottomLeftRadius(UnitValue), BorderBottomRightRadius(UnitValue), BackgroundColor(ColorValue), Color(ColorValue), TextDecorationColor(ColorValue), Fill(ColorValue), Stroke(ColorValue), StrokeWidth(UnitValue), OutlineColor(ColorValue), GridTemplateColumns(GridTemplate), GridTemplateRows(GridTemplate), GridAutoColumns(GridAuto), GridAutoRows(GridAuto), TextIndent(UnitValue), OutlineOffset(UnitValue), GridColumnStart(GridSpan), GridColumnEnd(GridSpan), GridRowStart(GridSpan), GridRowEnd(GridSpan), BackgroundPositionX(UnitValue), BackgroundPositionY(UnitValue),
}

Variants§

§

Raw(String)

§

FlexWrap(FlexWrap)

§

FlexDirection(FlexDirection)

§

JustifyContent(JustifyContent)

§

AlignItems(AlignItems)

§

AlignContent(AlignContent)

§

AlignSelf(AlignSelf)

§

JustifyItems(JustifyItems)

§

JustifySelf(JustifySelf)

§

FlexBasis(FlexBasis)

§

FlexGrow(FlexGrow)

§

FlexShrink(FlexShrink)

§

Order(Order)

§

Position(Position)

§

Display(Display)

§

BoxSizing(BoxSizing)

§

Visibility(Visibility)

§

ZIndex(ZIndex)

§

OverflowX(OverflowX)

§

OverflowY(OverflowY)

§

Direction(Direction)

§

UnicodeBidi(UnicodeBidi)

§

WhiteSpace(WhiteSpace)

§

WritingMode(WritingMode)

§

HangingPunctuation(HangingPunctuation)

§

Hyphens(Hyphens)

§

TextAlign(TextAlign)

§

TextAlignLast(TextAlignLast)

§

TextJustify(TextJustify)

§

FontStretch(FontStretch)

§

UserSelect(UserSelect)

§

ScrollBehavior(ScrollBehavior)

§

PointerEvents(PointerEvents)

§

TouchAction(TouchAction)

§

Resize(Resize)

§

ObjectFit(ObjectFit)

§

ListStyleType(ListStyleType)

§

ListStyleImage(ListStyleImage)

§

ListStylePosition(ListStylePosition)

§

BreakAfter(BreakAfter)

§

BreakBefore(BreakBefore)

§

BreakInside(BreakInside)

§

FontVariant(FontVariant)

§

WordBreak(WordBreak)

§

WordWrap(WordWrap)

§

FontStyle(FontStyle)

§

TransformStyle(TransformStyle)

§

BackgroundBlendMode(BackgroundBlendMode)

§

MixBlendMode(MixBlendMode)

§

Isolation(Isolation)

§

CaptionSide(CaptionSide)

§

EmptyCells(EmptyCells)

§

TableLayout(TableLayout)

§

BorderCollapse(BorderCollapse)

§

All(All)

§

FontWeight(FontWeight)

§

FontSize(FontSize)

§

BackgroundRepeat(BackgroundRepeat)

§

BackgroundAttachment(BackgroundAttachment)

§

Cursor(Cursor)

§

TextTransform(TextTransform)

§

TextShadow(TextShadow)

§

FontKerning(FontKerning)

§

FontFamily(FontFamily)

§

WordSpacing(WordSpacing)

§

TextOverflow(TextOverflow)

§

VerticalAlign(VerticalAlign)

§

LineHeight(LineHeight)

§

LetterSpacing(LetterSpacing)

§

TabSize(TabSize)

§

BoxDecorationBreak(BoxDecorationBreak)

§

OutlineWidth(OutlineWidth)

§

OutlineStyle(OutlineStyle)

§

Content(Content)

§

Opacity(Opacity)

§

Perspective(Perspective)

§

BackfaceVisibility(BackfaceVisibility)

§

TextDecorationStyle(TextDecorationStyle)

§

TextDecorationLine(TextDecorationLine)

§

TextRendering(TextRendering)

§

VectorEffect(VectorEffect)

§

AlignmentBaseline(AlignmentBaseline)

§

DominantBaseline(DominantBaseline)

§

TextAnchor(TextAnchor)

§

StrokeLinecap(StrokeLinecap)

§

BackgroundImage(BackgroundImage)

§

BackgroundSize(BackgroundSize)

§

AnimationDirection(AnimationDirection)

§

AnimationFillMode(AnimationFillMode)

§

AnimationIterationCount(AnimationIterationCount)

§

AnimationName(AnimationName)

§

AnimationPlayState(AnimationPlayState)

§

AnimationTimingFunction(AnimationTimingFunction)

§

AnimationDuration(AnimationDuration)

§

AnimationDelay(AnimationDelay)

§

TransitionProperty(TransitionProperty)

§

TransitionTimingFunction(TransitionTimingFunction)

§

TransitionDuration(TransitionDuration)

§

TransitionDelay(TransitionDelay)

§

Transform(Transform)

§

Filter(Filter)

§

BorderImageSource(BorderImageSource)

§

BorderImageSlice(BorderImageSlice)

§

BorderImageWidth(BorderImageWidth)

§

BorderImageOutset(BorderImageOutset)

§

BorderImageRepeat(BorderImageRepeat)

§

ClipPath(ClipPath)

§

BackgroundOrigin(BackgroundOrigin)

§

BackgroundClip(BackgroundClip)

§

GridAutoFlow(GridAutoFlow)

§

RowGap(RowGap)

§

ColumnGap(ColumnGap)

§

GridGap(GridGap)

§

OverflowWrap(OverflowWrap)

§

BoxShadow(BoxShadow)

§

TransformOrigin(TransformOrigin)

§

Appearance(Appearance)

§

MaskImage(MaskImage)

§

MaskSize(MaskSize)

§

Float(Float)

§

Clear(Clear)

§

AspectRatio(AspectRatio)

§

OverflowAnchor(OverflowAnchor)

§

MarginLeft(Margin)

§

MarginRight(Margin)

§

MarginTop(Margin)

§

MarginBottom(Margin)

§

PaddingLeft(UnitValue)

§

PaddingRight(UnitValue)

§

PaddingTop(UnitValue)

§

PaddingBottom(UnitValue)

§

Width(DimensionExtremity)

§

Height(DimensionExtremity)

§

MinWidth(DimensionExtremity)

§

MaxWidth(DimensionExtremity)

§

MinHeight(DimensionExtremity)

§

MaxHeight(DimensionExtremity)

§

Top(Dimension)

§

Right(Dimension)

§

Left(Dimension)

§

Bottom(Dimension)

§

BorderLeftColor(ColorValue)

§

BorderRightColor(ColorValue)

§

BorderTopColor(ColorValue)

§

BorderBottomColor(ColorValue)

§

BorderLeftStyle(BorderStyle)

§

BorderRightStyle(BorderStyle)

§

BorderTopStyle(BorderStyle)

§

BorderBottomStyle(BorderStyle)

§

BorderLeftWidth(BorderWidth)

§

BorderRightWidth(BorderWidth)

§

BorderTopWidth(BorderWidth)

§

BorderBottomWidth(BorderWidth)

§

BorderTopLeftRadius(UnitValue)

§

BorderTopRightRadius(UnitValue)

§

BorderBottomLeftRadius(UnitValue)

§

BorderBottomRightRadius(UnitValue)

§

BackgroundColor(ColorValue)

§

Color(ColorValue)

§

TextDecorationColor(ColorValue)

§

Fill(ColorValue)

§

Stroke(ColorValue)

§

StrokeWidth(UnitValue)

§

OutlineColor(ColorValue)

§

GridTemplateColumns(GridTemplate)

§

GridTemplateRows(GridTemplate)

§

GridAutoColumns(GridAuto)

§

GridAutoRows(GridAuto)

§

TextIndent(UnitValue)

§

OutlineOffset(UnitValue)

§

GridColumnStart(GridSpan)

§

GridColumnEnd(GridSpan)

§

GridRowStart(GridSpan)

§

GridRowEnd(GridSpan)

§

BackgroundPositionX(UnitValue)

§

BackgroundPositionY(UnitValue)

Trait Implementations§

source§

impl AppendProperty for Property

source§

fn append_property(self, decls: &mut Vec<Property>)

source§

impl Clone for Property

source§

fn clone(&self) -> Property

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Property

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Property

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'_enum> From<&'_enum Property> for PropertyDiscriminants

source§

fn from(val: &'_enum Property) -> PropertyDiscriminants

Converts to this type from the input type.
source§

impl From<AlignContent> for Property

source§

fn from(x: AlignContent) -> Self

Converts to this type from the input type.
source§

impl From<AlignItems> for Property

source§

fn from(x: AlignItems) -> Self

Converts to this type from the input type.
source§

impl From<AlignSelf> for Property

source§

fn from(x: AlignSelf) -> Self

Converts to this type from the input type.
source§

impl From<AlignmentBaseline> for Property

source§

fn from(x: AlignmentBaseline) -> Self

Converts to this type from the input type.
source§

impl From<All> for Property

source§

fn from(x: All) -> Self

Converts to this type from the input type.
source§

impl From<AnimationDelay> for Property

source§

fn from(x: AnimationDelay) -> Self

Converts to this type from the input type.
source§

impl From<AnimationDirection> for Property

source§

fn from(x: AnimationDirection) -> Self

Converts to this type from the input type.
source§

impl From<AnimationDuration> for Property

source§

fn from(x: AnimationDuration) -> Self

Converts to this type from the input type.
source§

impl From<AnimationFillMode> for Property

source§

fn from(x: AnimationFillMode) -> Self

Converts to this type from the input type.
source§

impl From<AnimationIterationCount> for Property

source§

fn from(x: AnimationIterationCount) -> Self

Converts to this type from the input type.
source§

impl From<AnimationName> for Property

source§

fn from(x: AnimationName) -> Self

Converts to this type from the input type.
source§

impl From<AnimationPlayState> for Property

source§

fn from(x: AnimationPlayState) -> Self

Converts to this type from the input type.
source§

impl From<AnimationTimingFunction> for Property

source§

fn from(x: AnimationTimingFunction) -> Self

Converts to this type from the input type.
source§

impl From<Appearance> for Property

source§

fn from(x: Appearance) -> Self

Converts to this type from the input type.
source§

impl From<AspectRatio> for Property

source§

fn from(x: AspectRatio) -> Self

Converts to this type from the input type.
source§

impl From<BackfaceVisibility> for Property

source§

fn from(x: BackfaceVisibility) -> Self

Converts to this type from the input type.
source§

impl From<BackgroundAttachment> for Property

source§

fn from(x: BackgroundAttachment) -> Self

Converts to this type from the input type.
source§

impl From<BackgroundBlendMode> for Property

source§

fn from(x: BackgroundBlendMode) -> Self

Converts to this type from the input type.
source§

impl From<BackgroundClip> for Property

source§

fn from(x: BackgroundClip) -> Self

Converts to this type from the input type.
source§

impl From<BackgroundImage> for Property

source§

fn from(x: BackgroundImage) -> Self

Converts to this type from the input type.
source§

impl From<BackgroundOrigin> for Property

source§

fn from(x: BackgroundOrigin) -> Self

Converts to this type from the input type.
source§

impl From<BackgroundRepeat> for Property

source§

fn from(x: BackgroundRepeat) -> Self

Converts to this type from the input type.
source§

impl From<BackgroundSize> for Property

source§

fn from(x: BackgroundSize) -> Self

Converts to this type from the input type.
source§

impl From<BorderCollapse> for Property

source§

fn from(x: BorderCollapse) -> Self

Converts to this type from the input type.
source§

impl From<BorderImageOutset> for Property

source§

fn from(x: BorderImageOutset) -> Self

Converts to this type from the input type.
source§

impl From<BorderImageRepeat> for Property

source§

fn from(x: BorderImageRepeat) -> Self

Converts to this type from the input type.
source§

impl From<BorderImageSlice> for Property

source§

fn from(x: BorderImageSlice) -> Self

Converts to this type from the input type.
source§

impl From<BorderImageSource> for Property

source§

fn from(x: BorderImageSource) -> Self

Converts to this type from the input type.
source§

impl From<BorderImageWidth> for Property

source§

fn from(x: BorderImageWidth) -> Self

Converts to this type from the input type.
source§

impl From<BoxDecorationBreak> for Property

source§

fn from(x: BoxDecorationBreak) -> Self

Converts to this type from the input type.
source§

impl From<BoxShadow> for Property

source§

fn from(x: BoxShadow) -> Self

Converts to this type from the input type.
source§

impl From<BoxSizing> for Property

source§

fn from(x: BoxSizing) -> Self

Converts to this type from the input type.
source§

impl From<BreakAfter> for Property

source§

fn from(x: BreakAfter) -> Self

Converts to this type from the input type.
source§

impl From<BreakBefore> for Property

source§

fn from(x: BreakBefore) -> Self

Converts to this type from the input type.
source§

impl From<BreakInside> for Property

source§

fn from(x: BreakInside) -> Self

Converts to this type from the input type.
source§

impl From<CaptionSide> for Property

source§

fn from(x: CaptionSide) -> Self

Converts to this type from the input type.
source§

impl From<Clear> for Property

source§

fn from(x: Clear) -> Self

Converts to this type from the input type.
source§

impl From<ClipPath> for Property

source§

fn from(x: ClipPath) -> Self

Converts to this type from the input type.
source§

impl From<ColumnGap> for Property

source§

fn from(x: ColumnGap) -> Self

Converts to this type from the input type.
source§

impl From<Content> for Property

source§

fn from(x: Content) -> Self

Converts to this type from the input type.
source§

impl From<Cursor> for Property

source§

fn from(x: Cursor) -> Self

Converts to this type from the input type.
source§

impl From<Direction> for Property

source§

fn from(x: Direction) -> Self

Converts to this type from the input type.
source§

impl From<Display> for Property

source§

fn from(x: Display) -> Self

Converts to this type from the input type.
source§

impl From<DominantBaseline> for Property

source§

fn from(x: DominantBaseline) -> Self

Converts to this type from the input type.
source§

impl From<EmptyCells> for Property

source§

fn from(x: EmptyCells) -> Self

Converts to this type from the input type.
source§

impl From<Filter> for Property

source§

fn from(x: Filter) -> Self

Converts to this type from the input type.
source§

impl From<FlexBasis> for Property

source§

fn from(x: FlexBasis) -> Self

Converts to this type from the input type.
source§

impl From<FlexDirection> for Property

source§

fn from(x: FlexDirection) -> Self

Converts to this type from the input type.
source§

impl From<FlexGrow> for Property

source§

fn from(x: FlexGrow) -> Self

Converts to this type from the input type.
source§

impl From<FlexShrink> for Property

source§

fn from(x: FlexShrink) -> Self

Converts to this type from the input type.
source§

impl From<FlexWrap> for Property

source§

fn from(x: FlexWrap) -> Self

Converts to this type from the input type.
source§

impl From<Float> for Property

source§

fn from(x: Float) -> Self

Converts to this type from the input type.
source§

impl From<FontFamily> for Property

source§

fn from(x: FontFamily) -> Self

Converts to this type from the input type.
source§

impl From<FontKerning> for Property

source§

fn from(x: FontKerning) -> Self

Converts to this type from the input type.
source§

impl From<FontSize> for Property

source§

fn from(x: FontSize) -> Self

Converts to this type from the input type.
source§

impl From<FontStretch> for Property

source§

fn from(x: FontStretch) -> Self

Converts to this type from the input type.
source§

impl From<FontStyle> for Property

source§

fn from(x: FontStyle) -> Self

Converts to this type from the input type.
source§

impl From<FontVariant> for Property

source§

fn from(x: FontVariant) -> Self

Converts to this type from the input type.
source§

impl From<FontWeight> for Property

source§

fn from(x: FontWeight) -> Self

Converts to this type from the input type.
source§

impl From<GridAutoFlow> for Property

source§

fn from(x: GridAutoFlow) -> Self

Converts to this type from the input type.
source§

impl From<GridGap> for Property

source§

fn from(x: GridGap) -> Self

Converts to this type from the input type.
source§

impl From<HangingPunctuation> for Property

source§

fn from(x: HangingPunctuation) -> Self

Converts to this type from the input type.
source§

impl From<Hyphens> for Property

source§

fn from(x: Hyphens) -> Self

Converts to this type from the input type.
source§

impl From<Isolation> for Property

source§

fn from(x: Isolation) -> Self

Converts to this type from the input type.
source§

impl From<JustifyContent> for Property

source§

fn from(x: JustifyContent) -> Self

Converts to this type from the input type.
source§

impl From<JustifyItems> for Property

source§

fn from(x: JustifyItems) -> Self

Converts to this type from the input type.
source§

impl From<JustifySelf> for Property

source§

fn from(x: JustifySelf) -> Self

Converts to this type from the input type.
source§

impl From<LetterSpacing> for Property

source§

fn from(x: LetterSpacing) -> Self

Converts to this type from the input type.
source§

impl From<LineHeight> for Property

source§

fn from(x: LineHeight) -> Self

Converts to this type from the input type.
source§

impl From<ListStyleImage> for Property

source§

fn from(x: ListStyleImage) -> Self

Converts to this type from the input type.
source§

impl From<ListStylePosition> for Property

source§

fn from(x: ListStylePosition) -> Self

Converts to this type from the input type.
source§

impl From<ListStyleType> for Property

source§

fn from(x: ListStyleType) -> Self

Converts to this type from the input type.
source§

impl From<MaskImage> for Property

source§

fn from(x: MaskImage) -> Self

Converts to this type from the input type.
source§

impl From<MaskSize> for Property

source§

fn from(x: MaskSize) -> Self

Converts to this type from the input type.
source§

impl From<MixBlendMode> for Property

source§

fn from(x: MixBlendMode) -> Self

Converts to this type from the input type.
source§

impl From<ObjectFit> for Property

source§

fn from(x: ObjectFit) -> Self

Converts to this type from the input type.
source§

impl From<Opacity> for Property

source§

fn from(x: Opacity) -> Self

Converts to this type from the input type.
source§

impl From<Order> for Property

source§

fn from(x: Order) -> Self

Converts to this type from the input type.
source§

impl From<OutlineStyle> for Property

source§

fn from(x: OutlineStyle) -> Self

Converts to this type from the input type.
source§

impl From<OutlineWidth> for Property

source§

fn from(x: OutlineWidth) -> Self

Converts to this type from the input type.
source§

impl From<OverflowAnchor> for Property

source§

fn from(x: OverflowAnchor) -> Self

Converts to this type from the input type.
source§

impl From<OverflowWrap> for Property

source§

fn from(x: OverflowWrap) -> Self

Converts to this type from the input type.
source§

impl From<OverflowX> for Property

source§

fn from(x: OverflowX) -> Self

Converts to this type from the input type.
source§

impl From<OverflowY> for Property

source§

fn from(x: OverflowY) -> Self

Converts to this type from the input type.
source§

impl From<Perspective> for Property

source§

fn from(x: Perspective) -> Self

Converts to this type from the input type.
source§

impl From<PointerEvents> for Property

source§

fn from(x: PointerEvents) -> Self

Converts to this type from the input type.
source§

impl From<Position> for Property

source§

fn from(x: Position) -> Self

Converts to this type from the input type.
source§

impl From<Property> for PropertyDiscriminants

source§

fn from(val: Property) -> PropertyDiscriminants

Converts to this type from the input type.
source§

impl From<Resize> for Property

source§

fn from(x: Resize) -> Self

Converts to this type from the input type.
source§

impl From<RowGap> for Property

source§

fn from(x: RowGap) -> Self

Converts to this type from the input type.
source§

impl From<ScrollBehavior> for Property

source§

fn from(x: ScrollBehavior) -> Self

Converts to this type from the input type.
source§

impl From<StrokeLinecap> for Property

source§

fn from(x: StrokeLinecap) -> Self

Converts to this type from the input type.
source§

impl From<TabSize> for Property

source§

fn from(x: TabSize) -> Self

Converts to this type from the input type.
source§

impl From<TableLayout> for Property

source§

fn from(x: TableLayout) -> Self

Converts to this type from the input type.
source§

impl From<TextAlign> for Property

source§

fn from(x: TextAlign) -> Self

Converts to this type from the input type.
source§

impl From<TextAlignLast> for Property

source§

fn from(x: TextAlignLast) -> Self

Converts to this type from the input type.
source§

impl From<TextAnchor> for Property

source§

fn from(x: TextAnchor) -> Self

Converts to this type from the input type.
source§

impl From<TextDecorationLine> for Property

source§

fn from(x: TextDecorationLine) -> Self

Converts to this type from the input type.
source§

impl From<TextDecorationStyle> for Property

source§

fn from(x: TextDecorationStyle) -> Self

Converts to this type from the input type.
source§

impl From<TextJustify> for Property

source§

fn from(x: TextJustify) -> Self

Converts to this type from the input type.
source§

impl From<TextOverflow> for Property

source§

fn from(x: TextOverflow) -> Self

Converts to this type from the input type.
source§

impl From<TextRendering> for Property

source§

fn from(x: TextRendering) -> Self

Converts to this type from the input type.
source§

impl From<TextShadow> for Property

source§

fn from(x: TextShadow) -> Self

Converts to this type from the input type.
source§

impl From<TextTransform> for Property

source§

fn from(x: TextTransform) -> Self

Converts to this type from the input type.
source§

impl From<TouchAction> for Property

source§

fn from(x: TouchAction) -> Self

Converts to this type from the input type.
source§

impl From<Transform> for Property

source§

fn from(x: Transform) -> Self

Converts to this type from the input type.
source§

impl From<TransformOrigin> for Property

source§

fn from(x: TransformOrigin) -> Self

Converts to this type from the input type.
source§

impl From<TransformStyle> for Property

source§

fn from(x: TransformStyle) -> Self

Converts to this type from the input type.
source§

impl From<TransitionDelay> for Property

source§

fn from(x: TransitionDelay) -> Self

Converts to this type from the input type.
source§

impl From<TransitionDuration> for Property

source§

fn from(x: TransitionDuration) -> Self

Converts to this type from the input type.
source§

impl From<TransitionProperty> for Property

source§

fn from(x: TransitionProperty) -> Self

Converts to this type from the input type.
source§

impl From<TransitionTimingFunction> for Property

source§

fn from(x: TransitionTimingFunction) -> Self

Converts to this type from the input type.
source§

impl From<UnicodeBidi> for Property

source§

fn from(x: UnicodeBidi) -> Self

Converts to this type from the input type.
source§

impl From<UserSelect> for Property

source§

fn from(x: UserSelect) -> Self

Converts to this type from the input type.
source§

impl From<VectorEffect> for Property

source§

fn from(x: VectorEffect) -> Self

Converts to this type from the input type.
source§

impl From<VerticalAlign> for Property

source§

fn from(x: VerticalAlign) -> Self

Converts to this type from the input type.
source§

impl From<Visibility> for Property

source§

fn from(x: Visibility) -> Self

Converts to this type from the input type.
source§

impl From<WhiteSpace> for Property

source§

fn from(x: WhiteSpace) -> Self

Converts to this type from the input type.
source§

impl From<WordBreak> for Property

source§

fn from(x: WordBreak) -> Self

Converts to this type from the input type.
source§

impl From<WordSpacing> for Property

source§

fn from(x: WordSpacing) -> Self

Converts to this type from the input type.
source§

impl From<WordWrap> for Property

source§

fn from(x: WordWrap) -> Self

Converts to this type from the input type.
source§

impl From<WritingMode> for Property

source§

fn from(x: WritingMode) -> Self

Converts to this type from the input type.
source§

impl From<ZIndex> for Property

source§

fn from(x: ZIndex) -> Self

Converts to this type from the input type.
source§

impl Hash for Property

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for Property

source§

fn cmp(&self, other: &Property) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<Property> for Property

source§

fn eq(&self, other: &Property) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<Property> for Property

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Eq for Property

source§

impl StructuralEq for Property

source§

impl StructuralPartialEq for Property

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.