pub enum CssProperty {
Show 64 variants
TextColor(CssPropertyValue<StyleTextColor>),
FontSize(CssPropertyValue<StyleFontSize>),
FontFamily(CssPropertyValue<StyleFontFamily>),
TextAlign(CssPropertyValue<StyleTextAlignmentHorz>),
LetterSpacing(CssPropertyValue<StyleLetterSpacing>),
LineHeight(CssPropertyValue<StyleLineHeight>),
WordSpacing(CssPropertyValue<StyleWordSpacing>),
TabWidth(CssPropertyValue<StyleTabWidth>),
Cursor(CssPropertyValue<StyleCursor>),
Display(CssPropertyValue<LayoutDisplay>),
Float(CssPropertyValue<LayoutFloat>),
BoxSizing(CssPropertyValue<LayoutBoxSizing>),
Width(CssPropertyValue<LayoutWidth>),
Height(CssPropertyValue<LayoutHeight>),
MinWidth(CssPropertyValue<LayoutMinWidth>),
MinHeight(CssPropertyValue<LayoutMinHeight>),
MaxWidth(CssPropertyValue<LayoutMaxWidth>),
MaxHeight(CssPropertyValue<LayoutMaxHeight>),
Position(CssPropertyValue<LayoutPosition>),
Top(CssPropertyValue<LayoutTop>),
Right(CssPropertyValue<LayoutRight>),
Left(CssPropertyValue<LayoutLeft>),
Bottom(CssPropertyValue<LayoutBottom>),
FlexWrap(CssPropertyValue<LayoutWrap>),
FlexDirection(CssPropertyValue<LayoutDirection>),
FlexGrow(CssPropertyValue<LayoutFlexGrow>),
FlexShrink(CssPropertyValue<LayoutFlexShrink>),
JustifyContent(CssPropertyValue<LayoutJustifyContent>),
AlignItems(CssPropertyValue<LayoutAlignItems>),
AlignContent(CssPropertyValue<LayoutAlignContent>),
BackgroundContent(CssPropertyValue<StyleBackgroundContent>),
BackgroundPosition(CssPropertyValue<StyleBackgroundPosition>),
BackgroundSize(CssPropertyValue<StyleBackgroundSize>),
BackgroundRepeat(CssPropertyValue<StyleBackgroundRepeat>),
OverflowX(CssPropertyValue<Overflow>),
OverflowY(CssPropertyValue<Overflow>),
PaddingTop(CssPropertyValue<LayoutPaddingTop>),
PaddingLeft(CssPropertyValue<LayoutPaddingLeft>),
PaddingRight(CssPropertyValue<LayoutPaddingRight>),
PaddingBottom(CssPropertyValue<LayoutPaddingBottom>),
MarginTop(CssPropertyValue<LayoutMarginTop>),
MarginLeft(CssPropertyValue<LayoutMarginLeft>),
MarginRight(CssPropertyValue<LayoutMarginRight>),
MarginBottom(CssPropertyValue<LayoutMarginBottom>),
BorderTopLeftRadius(CssPropertyValue<StyleBorderTopLeftRadius>),
BorderTopRightRadius(CssPropertyValue<StyleBorderTopRightRadius>),
BorderBottomLeftRadius(CssPropertyValue<StyleBorderBottomLeftRadius>),
BorderBottomRightRadius(CssPropertyValue<StyleBorderBottomRightRadius>),
BorderTopColor(CssPropertyValue<StyleBorderTopColor>),
BorderRightColor(CssPropertyValue<StyleBorderRightColor>),
BorderLeftColor(CssPropertyValue<StyleBorderLeftColor>),
BorderBottomColor(CssPropertyValue<StyleBorderBottomColor>),
BorderTopStyle(CssPropertyValue<StyleBorderTopStyle>),
BorderRightStyle(CssPropertyValue<StyleBorderRightStyle>),
BorderLeftStyle(CssPropertyValue<StyleBorderLeftStyle>),
BorderBottomStyle(CssPropertyValue<StyleBorderBottomStyle>),
BorderTopWidth(CssPropertyValue<StyleBorderTopWidth>),
BorderRightWidth(CssPropertyValue<StyleBorderRightWidth>),
BorderLeftWidth(CssPropertyValue<StyleBorderLeftWidth>),
BorderBottomWidth(CssPropertyValue<StyleBorderBottomWidth>),
BoxShadowLeft(CssPropertyValue<BoxShadowPreDisplayItem>),
BoxShadowRight(CssPropertyValue<BoxShadowPreDisplayItem>),
BoxShadowTop(CssPropertyValue<BoxShadowPreDisplayItem>),
BoxShadowBottom(CssPropertyValue<BoxShadowPreDisplayItem>),
}
Expand description
Represents one parsed CSS key-value pair, such as "width: 20px"
=> CssProperty::Width(LayoutWidth::px(20.0))
Variants§
TextColor(CssPropertyValue<StyleTextColor>)
FontSize(CssPropertyValue<StyleFontSize>)
FontFamily(CssPropertyValue<StyleFontFamily>)
TextAlign(CssPropertyValue<StyleTextAlignmentHorz>)
LetterSpacing(CssPropertyValue<StyleLetterSpacing>)
LineHeight(CssPropertyValue<StyleLineHeight>)
WordSpacing(CssPropertyValue<StyleWordSpacing>)
TabWidth(CssPropertyValue<StyleTabWidth>)
Cursor(CssPropertyValue<StyleCursor>)
Display(CssPropertyValue<LayoutDisplay>)
Float(CssPropertyValue<LayoutFloat>)
BoxSizing(CssPropertyValue<LayoutBoxSizing>)
Width(CssPropertyValue<LayoutWidth>)
Height(CssPropertyValue<LayoutHeight>)
MinWidth(CssPropertyValue<LayoutMinWidth>)
MinHeight(CssPropertyValue<LayoutMinHeight>)
MaxWidth(CssPropertyValue<LayoutMaxWidth>)
MaxHeight(CssPropertyValue<LayoutMaxHeight>)
Position(CssPropertyValue<LayoutPosition>)
Top(CssPropertyValue<LayoutTop>)
Right(CssPropertyValue<LayoutRight>)
Left(CssPropertyValue<LayoutLeft>)
Bottom(CssPropertyValue<LayoutBottom>)
FlexWrap(CssPropertyValue<LayoutWrap>)
FlexDirection(CssPropertyValue<LayoutDirection>)
FlexGrow(CssPropertyValue<LayoutFlexGrow>)
FlexShrink(CssPropertyValue<LayoutFlexShrink>)
JustifyContent(CssPropertyValue<LayoutJustifyContent>)
AlignItems(CssPropertyValue<LayoutAlignItems>)
AlignContent(CssPropertyValue<LayoutAlignContent>)
BackgroundContent(CssPropertyValue<StyleBackgroundContent>)
BackgroundPosition(CssPropertyValue<StyleBackgroundPosition>)
BackgroundSize(CssPropertyValue<StyleBackgroundSize>)
BackgroundRepeat(CssPropertyValue<StyleBackgroundRepeat>)
OverflowX(CssPropertyValue<Overflow>)
OverflowY(CssPropertyValue<Overflow>)
PaddingTop(CssPropertyValue<LayoutPaddingTop>)
PaddingLeft(CssPropertyValue<LayoutPaddingLeft>)
PaddingRight(CssPropertyValue<LayoutPaddingRight>)
PaddingBottom(CssPropertyValue<LayoutPaddingBottom>)
MarginTop(CssPropertyValue<LayoutMarginTop>)
MarginLeft(CssPropertyValue<LayoutMarginLeft>)
MarginRight(CssPropertyValue<LayoutMarginRight>)
MarginBottom(CssPropertyValue<LayoutMarginBottom>)
BorderTopLeftRadius(CssPropertyValue<StyleBorderTopLeftRadius>)
BorderTopRightRadius(CssPropertyValue<StyleBorderTopRightRadius>)
BorderBottomLeftRadius(CssPropertyValue<StyleBorderBottomLeftRadius>)
BorderBottomRightRadius(CssPropertyValue<StyleBorderBottomRightRadius>)
BorderTopColor(CssPropertyValue<StyleBorderTopColor>)
BorderRightColor(CssPropertyValue<StyleBorderRightColor>)
BorderLeftColor(CssPropertyValue<StyleBorderLeftColor>)
BorderBottomColor(CssPropertyValue<StyleBorderBottomColor>)
BorderTopStyle(CssPropertyValue<StyleBorderTopStyle>)
BorderRightStyle(CssPropertyValue<StyleBorderRightStyle>)
BorderLeftStyle(CssPropertyValue<StyleBorderLeftStyle>)
BorderBottomStyle(CssPropertyValue<StyleBorderBottomStyle>)
BorderTopWidth(CssPropertyValue<StyleBorderTopWidth>)
BorderRightWidth(CssPropertyValue<StyleBorderRightWidth>)
BorderLeftWidth(CssPropertyValue<StyleBorderLeftWidth>)
BorderBottomWidth(CssPropertyValue<StyleBorderBottomWidth>)
BoxShadowLeft(CssPropertyValue<BoxShadowPreDisplayItem>)
BoxShadowRight(CssPropertyValue<BoxShadowPreDisplayItem>)
BoxShadowTop(CssPropertyValue<BoxShadowPreDisplayItem>)
BoxShadowBottom(CssPropertyValue<BoxShadowPreDisplayItem>)
Implementations§
Source§impl CssProperty
impl CssProperty
Sourcepub fn get_type(&self) -> CssPropertyType
pub fn get_type(&self) -> CssPropertyType
Return the type (key) of this property as a statically typed enum
pub fn none(prop_type: CssPropertyType) -> Self
pub fn auto(prop_type: CssPropertyType) -> Self
pub fn initial(prop_type: CssPropertyType) -> Self
pub fn inherit(prop_type: CssPropertyType) -> Self
Sourcepub const fn text_color(input: StyleTextColor) -> Self
pub const fn text_color(input: StyleTextColor) -> Self
Creates a text_color
CSS attribute
Sourcepub const fn font_size(input: StyleFontSize) -> Self
pub const fn font_size(input: StyleFontSize) -> Self
Creates a font_size
CSS attribute
Sourcepub const fn font_family(input: StyleFontFamily) -> Self
pub const fn font_family(input: StyleFontFamily) -> Self
Creates a font_family
CSS attribute
Sourcepub const fn text_align(input: StyleTextAlignmentHorz) -> Self
pub const fn text_align(input: StyleTextAlignmentHorz) -> Self
Creates a text_align
CSS attribute
Sourcepub const fn letter_spacing(input: StyleLetterSpacing) -> Self
pub const fn letter_spacing(input: StyleLetterSpacing) -> Self
Creates a letter_spacing
CSS attribute
Sourcepub const fn line_height(input: StyleLineHeight) -> Self
pub const fn line_height(input: StyleLineHeight) -> Self
Creates a line_height
CSS attribute
Sourcepub const fn word_spacing(input: StyleWordSpacing) -> Self
pub const fn word_spacing(input: StyleWordSpacing) -> Self
Creates a word_spacing
CSS attribute
Sourcepub const fn tab_width(input: StyleTabWidth) -> Self
pub const fn tab_width(input: StyleTabWidth) -> Self
Creates a tab_width
CSS attribute
Sourcepub const fn cursor(input: StyleCursor) -> Self
pub const fn cursor(input: StyleCursor) -> Self
Creates a cursor
CSS attribute
Sourcepub const fn display(input: LayoutDisplay) -> Self
pub const fn display(input: LayoutDisplay) -> Self
Creates a display
CSS attribute
Sourcepub const fn float(input: LayoutFloat) -> Self
pub const fn float(input: LayoutFloat) -> Self
Creates a float
CSS attribute
Sourcepub const fn box_sizing(input: LayoutBoxSizing) -> Self
pub const fn box_sizing(input: LayoutBoxSizing) -> Self
Creates a box_sizing
CSS attribute
Sourcepub const fn width(input: LayoutWidth) -> Self
pub const fn width(input: LayoutWidth) -> Self
Creates a width
CSS attribute
Sourcepub const fn height(input: LayoutHeight) -> Self
pub const fn height(input: LayoutHeight) -> Self
Creates a height
CSS attribute
Sourcepub const fn min_width(input: LayoutMinWidth) -> Self
pub const fn min_width(input: LayoutMinWidth) -> Self
Creates a min_width
CSS attribute
Sourcepub const fn min_height(input: LayoutMinHeight) -> Self
pub const fn min_height(input: LayoutMinHeight) -> Self
Creates a min_height
CSS attribute
Sourcepub const fn max_width(input: LayoutMaxWidth) -> Self
pub const fn max_width(input: LayoutMaxWidth) -> Self
Creates a max_width
CSS attribute
Sourcepub const fn max_height(input: LayoutMaxHeight) -> Self
pub const fn max_height(input: LayoutMaxHeight) -> Self
Creates a max_height
CSS attribute
Sourcepub const fn position(input: LayoutPosition) -> Self
pub const fn position(input: LayoutPosition) -> Self
Creates a position
CSS attribute
Sourcepub const fn right(input: LayoutRight) -> Self
pub const fn right(input: LayoutRight) -> Self
Creates a right
CSS attribute
Sourcepub const fn left(input: LayoutLeft) -> Self
pub const fn left(input: LayoutLeft) -> Self
Creates a left
CSS attribute
Sourcepub const fn bottom(input: LayoutBottom) -> Self
pub const fn bottom(input: LayoutBottom) -> Self
Creates a bottom
CSS attribute
Sourcepub const fn flex_wrap(input: LayoutWrap) -> Self
pub const fn flex_wrap(input: LayoutWrap) -> Self
Creates a flex_wrap
CSS attribute
Sourcepub const fn flex_direction(input: LayoutDirection) -> Self
pub const fn flex_direction(input: LayoutDirection) -> Self
Creates a flex_direction
CSS attribute
Sourcepub const fn flex_grow(input: LayoutFlexGrow) -> Self
pub const fn flex_grow(input: LayoutFlexGrow) -> Self
Creates a flex_grow
CSS attribute
Sourcepub const fn flex_shrink(input: LayoutFlexShrink) -> Self
pub const fn flex_shrink(input: LayoutFlexShrink) -> Self
Creates a flex_shrink
CSS attribute
Sourcepub const fn justify_content(input: LayoutJustifyContent) -> Self
pub const fn justify_content(input: LayoutJustifyContent) -> Self
Creates a justify_content
CSS attribute
Sourcepub const fn align_items(input: LayoutAlignItems) -> Self
pub const fn align_items(input: LayoutAlignItems) -> Self
Creates a align_items
CSS attribute
Sourcepub const fn align_content(input: LayoutAlignContent) -> Self
pub const fn align_content(input: LayoutAlignContent) -> Self
Creates a align_content
CSS attribute
Sourcepub const fn background_content(input: StyleBackgroundContent) -> Self
pub const fn background_content(input: StyleBackgroundContent) -> Self
Creates a background_content
CSS attribute
Sourcepub const fn background_position(input: StyleBackgroundPosition) -> Self
pub const fn background_position(input: StyleBackgroundPosition) -> Self
Creates a background_position
CSS attribute
Sourcepub const fn background_size(input: StyleBackgroundSize) -> Self
pub const fn background_size(input: StyleBackgroundSize) -> Self
Creates a background_size
CSS attribute
Sourcepub const fn background_repeat(input: StyleBackgroundRepeat) -> Self
pub const fn background_repeat(input: StyleBackgroundRepeat) -> Self
Creates a background_repeat
CSS attribute
Sourcepub const fn overflow_x(input: Overflow) -> Self
pub const fn overflow_x(input: Overflow) -> Self
Creates a overflow_x
CSS attribute
Sourcepub const fn overflow_y(input: Overflow) -> Self
pub const fn overflow_y(input: Overflow) -> Self
Creates a overflow_y
CSS attribute
Sourcepub const fn padding_top(input: LayoutPaddingTop) -> Self
pub const fn padding_top(input: LayoutPaddingTop) -> Self
Creates a padding_top
CSS attribute
Sourcepub const fn padding_left(input: LayoutPaddingLeft) -> Self
pub const fn padding_left(input: LayoutPaddingLeft) -> Self
Creates a padding_left
CSS attribute
Sourcepub const fn padding_right(input: LayoutPaddingRight) -> Self
pub const fn padding_right(input: LayoutPaddingRight) -> Self
Creates a padding_right
CSS attribute
Sourcepub const fn padding_bottom(input: LayoutPaddingBottom) -> Self
pub const fn padding_bottom(input: LayoutPaddingBottom) -> Self
Creates a padding_bottom
CSS attribute
Sourcepub const fn margin_top(input: LayoutMarginTop) -> Self
pub const fn margin_top(input: LayoutMarginTop) -> Self
Creates a margin_top
CSS attribute
Sourcepub const fn margin_left(input: LayoutMarginLeft) -> Self
pub const fn margin_left(input: LayoutMarginLeft) -> Self
Creates a margin_left
CSS attribute
Sourcepub const fn margin_right(input: LayoutMarginRight) -> Self
pub const fn margin_right(input: LayoutMarginRight) -> Self
Creates a margin_right
CSS attribute
Sourcepub const fn margin_bottom(input: LayoutMarginBottom) -> Self
pub const fn margin_bottom(input: LayoutMarginBottom) -> Self
Creates a margin_bottom
CSS attribute
Sourcepub const fn border_top_left_radius(input: StyleBorderTopLeftRadius) -> Self
pub const fn border_top_left_radius(input: StyleBorderTopLeftRadius) -> Self
Creates a border_top_left_radius
CSS attribute
Sourcepub const fn border_top_right_radius(input: StyleBorderTopRightRadius) -> Self
pub const fn border_top_right_radius(input: StyleBorderTopRightRadius) -> Self
Creates a border_top_right_radius
CSS attribute
Sourcepub const fn border_bottom_left_radius(
input: StyleBorderBottomLeftRadius,
) -> Self
pub const fn border_bottom_left_radius( input: StyleBorderBottomLeftRadius, ) -> Self
Creates a border_bottom_left_radius
CSS attribute
Sourcepub const fn border_bottom_right_radius(
input: StyleBorderBottomRightRadius,
) -> Self
pub const fn border_bottom_right_radius( input: StyleBorderBottomRightRadius, ) -> Self
Creates a border_bottom_right_radius
CSS attribute
Sourcepub const fn border_top_color(input: StyleBorderTopColor) -> Self
pub const fn border_top_color(input: StyleBorderTopColor) -> Self
Creates a border_top_color
CSS attribute
Sourcepub const fn border_right_color(input: StyleBorderRightColor) -> Self
pub const fn border_right_color(input: StyleBorderRightColor) -> Self
Creates a border_right_color
CSS attribute
Sourcepub const fn border_left_color(input: StyleBorderLeftColor) -> Self
pub const fn border_left_color(input: StyleBorderLeftColor) -> Self
Creates a border_left_color
CSS attribute
Sourcepub const fn border_bottom_color(input: StyleBorderBottomColor) -> Self
pub const fn border_bottom_color(input: StyleBorderBottomColor) -> Self
Creates a border_bottom_color
CSS attribute
Sourcepub const fn border_top_style(input: StyleBorderTopStyle) -> Self
pub const fn border_top_style(input: StyleBorderTopStyle) -> Self
Creates a border_top_style
CSS attribute
Sourcepub const fn border_right_style(input: StyleBorderRightStyle) -> Self
pub const fn border_right_style(input: StyleBorderRightStyle) -> Self
Creates a border_right_style
CSS attribute
Sourcepub const fn border_left_style(input: StyleBorderLeftStyle) -> Self
pub const fn border_left_style(input: StyleBorderLeftStyle) -> Self
Creates a border_left_style
CSS attribute
Sourcepub const fn border_bottom_style(input: StyleBorderBottomStyle) -> Self
pub const fn border_bottom_style(input: StyleBorderBottomStyle) -> Self
Creates a border_bottom_style
CSS attribute
Sourcepub const fn border_top_width(input: StyleBorderTopWidth) -> Self
pub const fn border_top_width(input: StyleBorderTopWidth) -> Self
Creates a border_top_width
CSS attribute
Sourcepub const fn border_right_width(input: StyleBorderRightWidth) -> Self
pub const fn border_right_width(input: StyleBorderRightWidth) -> Self
Creates a border_right_width
CSS attribute
Sourcepub const fn border_left_width(input: StyleBorderLeftWidth) -> Self
pub const fn border_left_width(input: StyleBorderLeftWidth) -> Self
Creates a border_left_width
CSS attribute
Sourcepub const fn border_bottom_width(input: StyleBorderBottomWidth) -> Self
pub const fn border_bottom_width(input: StyleBorderBottomWidth) -> Self
Creates a border_bottom_width
CSS attribute
Sourcepub const fn box_shadow_left(input: BoxShadowPreDisplayItem) -> Self
pub const fn box_shadow_left(input: BoxShadowPreDisplayItem) -> Self
Creates a box_shadow_left
CSS attribute
Sourcepub const fn box_shadow_right(input: BoxShadowPreDisplayItem) -> Self
pub const fn box_shadow_right(input: BoxShadowPreDisplayItem) -> Self
Creates a box_shadow_right
CSS attribute
Sourcepub const fn box_shadow_top(input: BoxShadowPreDisplayItem) -> Self
pub const fn box_shadow_top(input: BoxShadowPreDisplayItem) -> Self
Creates a box_shadow_top
CSS attribute
Sourcepub const fn box_shadow_bottom(input: BoxShadowPreDisplayItem) -> Self
pub const fn box_shadow_bottom(input: BoxShadowPreDisplayItem) -> Self
Creates a box_shadow_bottom
CSS attribute
Trait Implementations§
Source§impl Clone for CssProperty
impl Clone for CssProperty
Source§fn clone(&self) -> CssProperty
fn clone(&self) -> CssProperty
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CssProperty
impl Debug for CssProperty
Source§impl From<LayoutAlignContent> for CssProperty
impl From<LayoutAlignContent> for CssProperty
Source§fn from(e: LayoutAlignContent) -> Self
fn from(e: LayoutAlignContent) -> Self
Source§impl From<LayoutAlignItems> for CssProperty
impl From<LayoutAlignItems> for CssProperty
Source§fn from(e: LayoutAlignItems) -> Self
fn from(e: LayoutAlignItems) -> Self
Source§impl From<LayoutBottom> for CssProperty
impl From<LayoutBottom> for CssProperty
Source§fn from(e: LayoutBottom) -> Self
fn from(e: LayoutBottom) -> Self
Source§impl From<LayoutBoxSizing> for CssProperty
impl From<LayoutBoxSizing> for CssProperty
Source§fn from(e: LayoutBoxSizing) -> Self
fn from(e: LayoutBoxSizing) -> Self
Source§impl From<LayoutDirection> for CssProperty
impl From<LayoutDirection> for CssProperty
Source§fn from(e: LayoutDirection) -> Self
fn from(e: LayoutDirection) -> Self
Source§impl From<LayoutDisplay> for CssProperty
impl From<LayoutDisplay> for CssProperty
Source§fn from(e: LayoutDisplay) -> Self
fn from(e: LayoutDisplay) -> Self
Source§impl From<LayoutFlexGrow> for CssProperty
impl From<LayoutFlexGrow> for CssProperty
Source§fn from(e: LayoutFlexGrow) -> Self
fn from(e: LayoutFlexGrow) -> Self
Source§impl From<LayoutFlexShrink> for CssProperty
impl From<LayoutFlexShrink> for CssProperty
Source§fn from(e: LayoutFlexShrink) -> Self
fn from(e: LayoutFlexShrink) -> Self
Source§impl From<LayoutFloat> for CssProperty
impl From<LayoutFloat> for CssProperty
Source§fn from(e: LayoutFloat) -> Self
fn from(e: LayoutFloat) -> Self
Source§impl From<LayoutHeight> for CssProperty
impl From<LayoutHeight> for CssProperty
Source§fn from(e: LayoutHeight) -> Self
fn from(e: LayoutHeight) -> Self
Source§impl From<LayoutJustifyContent> for CssProperty
impl From<LayoutJustifyContent> for CssProperty
Source§fn from(e: LayoutJustifyContent) -> Self
fn from(e: LayoutJustifyContent) -> Self
Source§impl From<LayoutLeft> for CssProperty
impl From<LayoutLeft> for CssProperty
Source§fn from(e: LayoutLeft) -> Self
fn from(e: LayoutLeft) -> Self
Source§impl From<LayoutMarginBottom> for CssProperty
impl From<LayoutMarginBottom> for CssProperty
Source§fn from(e: LayoutMarginBottom) -> Self
fn from(e: LayoutMarginBottom) -> Self
Source§impl From<LayoutMarginLeft> for CssProperty
impl From<LayoutMarginLeft> for CssProperty
Source§fn from(e: LayoutMarginLeft) -> Self
fn from(e: LayoutMarginLeft) -> Self
Source§impl From<LayoutMarginRight> for CssProperty
impl From<LayoutMarginRight> for CssProperty
Source§fn from(e: LayoutMarginRight) -> Self
fn from(e: LayoutMarginRight) -> Self
Source§impl From<LayoutMarginTop> for CssProperty
impl From<LayoutMarginTop> for CssProperty
Source§fn from(e: LayoutMarginTop) -> Self
fn from(e: LayoutMarginTop) -> Self
Source§impl From<LayoutMaxHeight> for CssProperty
impl From<LayoutMaxHeight> for CssProperty
Source§fn from(e: LayoutMaxHeight) -> Self
fn from(e: LayoutMaxHeight) -> Self
Source§impl From<LayoutMaxWidth> for CssProperty
impl From<LayoutMaxWidth> for CssProperty
Source§fn from(e: LayoutMaxWidth) -> Self
fn from(e: LayoutMaxWidth) -> Self
Source§impl From<LayoutMinHeight> for CssProperty
impl From<LayoutMinHeight> for CssProperty
Source§fn from(e: LayoutMinHeight) -> Self
fn from(e: LayoutMinHeight) -> Self
Source§impl From<LayoutMinWidth> for CssProperty
impl From<LayoutMinWidth> for CssProperty
Source§fn from(e: LayoutMinWidth) -> Self
fn from(e: LayoutMinWidth) -> Self
Source§impl From<LayoutPaddingBottom> for CssProperty
impl From<LayoutPaddingBottom> for CssProperty
Source§fn from(e: LayoutPaddingBottom) -> Self
fn from(e: LayoutPaddingBottom) -> Self
Source§impl From<LayoutPaddingLeft> for CssProperty
impl From<LayoutPaddingLeft> for CssProperty
Source§fn from(e: LayoutPaddingLeft) -> Self
fn from(e: LayoutPaddingLeft) -> Self
Source§impl From<LayoutPaddingRight> for CssProperty
impl From<LayoutPaddingRight> for CssProperty
Source§fn from(e: LayoutPaddingRight) -> Self
fn from(e: LayoutPaddingRight) -> Self
Source§impl From<LayoutPaddingTop> for CssProperty
impl From<LayoutPaddingTop> for CssProperty
Source§fn from(e: LayoutPaddingTop) -> Self
fn from(e: LayoutPaddingTop) -> Self
Source§impl From<LayoutPosition> for CssProperty
impl From<LayoutPosition> for CssProperty
Source§fn from(e: LayoutPosition) -> Self
fn from(e: LayoutPosition) -> Self
Source§impl From<LayoutRight> for CssProperty
impl From<LayoutRight> for CssProperty
Source§fn from(e: LayoutRight) -> Self
fn from(e: LayoutRight) -> Self
Source§impl From<LayoutTop> for CssProperty
impl From<LayoutTop> for CssProperty
Source§impl From<LayoutWidth> for CssProperty
impl From<LayoutWidth> for CssProperty
Source§fn from(e: LayoutWidth) -> Self
fn from(e: LayoutWidth) -> Self
Source§impl From<LayoutWrap> for CssProperty
impl From<LayoutWrap> for CssProperty
Source§fn from(e: LayoutWrap) -> Self
fn from(e: LayoutWrap) -> Self
Source§impl From<StyleBackgroundContent> for CssProperty
impl From<StyleBackgroundContent> for CssProperty
Source§fn from(e: StyleBackgroundContent) -> Self
fn from(e: StyleBackgroundContent) -> Self
Source§impl From<StyleBackgroundPosition> for CssProperty
impl From<StyleBackgroundPosition> for CssProperty
Source§fn from(e: StyleBackgroundPosition) -> Self
fn from(e: StyleBackgroundPosition) -> Self
Source§impl From<StyleBackgroundRepeat> for CssProperty
impl From<StyleBackgroundRepeat> for CssProperty
Source§fn from(e: StyleBackgroundRepeat) -> Self
fn from(e: StyleBackgroundRepeat) -> Self
Source§impl From<StyleBackgroundSize> for CssProperty
impl From<StyleBackgroundSize> for CssProperty
Source§fn from(e: StyleBackgroundSize) -> Self
fn from(e: StyleBackgroundSize) -> Self
Source§impl From<StyleBorderBottomColor> for CssProperty
impl From<StyleBorderBottomColor> for CssProperty
Source§fn from(e: StyleBorderBottomColor) -> Self
fn from(e: StyleBorderBottomColor) -> Self
Source§impl From<StyleBorderBottomLeftRadius> for CssProperty
impl From<StyleBorderBottomLeftRadius> for CssProperty
Source§fn from(e: StyleBorderBottomLeftRadius) -> Self
fn from(e: StyleBorderBottomLeftRadius) -> Self
Source§impl From<StyleBorderBottomRightRadius> for CssProperty
impl From<StyleBorderBottomRightRadius> for CssProperty
Source§fn from(e: StyleBorderBottomRightRadius) -> Self
fn from(e: StyleBorderBottomRightRadius) -> Self
Source§impl From<StyleBorderBottomStyle> for CssProperty
impl From<StyleBorderBottomStyle> for CssProperty
Source§fn from(e: StyleBorderBottomStyle) -> Self
fn from(e: StyleBorderBottomStyle) -> Self
Source§impl From<StyleBorderBottomWidth> for CssProperty
impl From<StyleBorderBottomWidth> for CssProperty
Source§fn from(e: StyleBorderBottomWidth) -> Self
fn from(e: StyleBorderBottomWidth) -> Self
Source§impl From<StyleBorderLeftColor> for CssProperty
impl From<StyleBorderLeftColor> for CssProperty
Source§fn from(e: StyleBorderLeftColor) -> Self
fn from(e: StyleBorderLeftColor) -> Self
Source§impl From<StyleBorderLeftStyle> for CssProperty
impl From<StyleBorderLeftStyle> for CssProperty
Source§fn from(e: StyleBorderLeftStyle) -> Self
fn from(e: StyleBorderLeftStyle) -> Self
Source§impl From<StyleBorderLeftWidth> for CssProperty
impl From<StyleBorderLeftWidth> for CssProperty
Source§fn from(e: StyleBorderLeftWidth) -> Self
fn from(e: StyleBorderLeftWidth) -> Self
Source§impl From<StyleBorderRightColor> for CssProperty
impl From<StyleBorderRightColor> for CssProperty
Source§fn from(e: StyleBorderRightColor) -> Self
fn from(e: StyleBorderRightColor) -> Self
Source§impl From<StyleBorderRightStyle> for CssProperty
impl From<StyleBorderRightStyle> for CssProperty
Source§fn from(e: StyleBorderRightStyle) -> Self
fn from(e: StyleBorderRightStyle) -> Self
Source§impl From<StyleBorderRightWidth> for CssProperty
impl From<StyleBorderRightWidth> for CssProperty
Source§fn from(e: StyleBorderRightWidth) -> Self
fn from(e: StyleBorderRightWidth) -> Self
Source§impl From<StyleBorderTopColor> for CssProperty
impl From<StyleBorderTopColor> for CssProperty
Source§fn from(e: StyleBorderTopColor) -> Self
fn from(e: StyleBorderTopColor) -> Self
Source§impl From<StyleBorderTopLeftRadius> for CssProperty
impl From<StyleBorderTopLeftRadius> for CssProperty
Source§fn from(e: StyleBorderTopLeftRadius) -> Self
fn from(e: StyleBorderTopLeftRadius) -> Self
Source§impl From<StyleBorderTopRightRadius> for CssProperty
impl From<StyleBorderTopRightRadius> for CssProperty
Source§fn from(e: StyleBorderTopRightRadius) -> Self
fn from(e: StyleBorderTopRightRadius) -> Self
Source§impl From<StyleBorderTopStyle> for CssProperty
impl From<StyleBorderTopStyle> for CssProperty
Source§fn from(e: StyleBorderTopStyle) -> Self
fn from(e: StyleBorderTopStyle) -> Self
Source§impl From<StyleBorderTopWidth> for CssProperty
impl From<StyleBorderTopWidth> for CssProperty
Source§fn from(e: StyleBorderTopWidth) -> Self
fn from(e: StyleBorderTopWidth) -> Self
Source§impl From<StyleCursor> for CssProperty
impl From<StyleCursor> for CssProperty
Source§fn from(e: StyleCursor) -> Self
fn from(e: StyleCursor) -> Self
Source§impl From<StyleFontFamily> for CssProperty
impl From<StyleFontFamily> for CssProperty
Source§fn from(e: StyleFontFamily) -> Self
fn from(e: StyleFontFamily) -> Self
Source§impl From<StyleFontSize> for CssProperty
impl From<StyleFontSize> for CssProperty
Source§fn from(e: StyleFontSize) -> Self
fn from(e: StyleFontSize) -> Self
Source§impl From<StyleLetterSpacing> for CssProperty
impl From<StyleLetterSpacing> for CssProperty
Source§fn from(e: StyleLetterSpacing) -> Self
fn from(e: StyleLetterSpacing) -> Self
Source§impl From<StyleLineHeight> for CssProperty
impl From<StyleLineHeight> for CssProperty
Source§fn from(e: StyleLineHeight) -> Self
fn from(e: StyleLineHeight) -> Self
Source§impl From<StyleTabWidth> for CssProperty
impl From<StyleTabWidth> for CssProperty
Source§fn from(e: StyleTabWidth) -> Self
fn from(e: StyleTabWidth) -> Self
Source§impl From<StyleTextAlignmentHorz> for CssProperty
impl From<StyleTextAlignmentHorz> for CssProperty
Source§fn from(e: StyleTextAlignmentHorz) -> Self
fn from(e: StyleTextAlignmentHorz) -> Self
Source§impl From<StyleTextColor> for CssProperty
impl From<StyleTextColor> for CssProperty
Source§fn from(e: StyleTextColor) -> Self
fn from(e: StyleTextColor) -> Self
Source§impl From<StyleWordSpacing> for CssProperty
impl From<StyleWordSpacing> for CssProperty
Source§fn from(e: StyleWordSpacing) -> Self
fn from(e: StyleWordSpacing) -> Self
Source§impl Hash for CssProperty
impl Hash for CssProperty
Source§impl Ord for CssProperty
impl Ord for CssProperty
Source§fn cmp(&self, other: &CssProperty) -> Ordering
fn cmp(&self, other: &CssProperty) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for CssProperty
impl PartialEq for CssProperty
Source§impl PartialOrd for CssProperty
impl PartialOrd for CssProperty
impl Eq for CssProperty
impl StructuralPartialEq for CssProperty
Auto Trait Implementations§
impl Freeze for CssProperty
impl RefUnwindSafe for CssProperty
impl Send for CssProperty
impl Sync for CssProperty
impl Unpin for CssProperty
impl UnwindSafe for CssProperty
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)