[][src]Struct azul_css::RectStyle

pub struct RectStyle {
    pub background: Option<CssPropertyValue<StyleBackgroundContent>>,
    pub background_position: Option<CssPropertyValue<StyleBackgroundPosition>>,
    pub background_size: Option<CssPropertyValue<StyleBackgroundSize>>,
    pub background_repeat: Option<CssPropertyValue<StyleBackgroundRepeat>>,
    pub font_size: Option<CssPropertyValue<StyleFontSize>>,
    pub font_family: Option<CssPropertyValue<StyleFontFamily>>,
    pub text_color: Option<CssPropertyValue<StyleTextColor>>,
    pub text_align: Option<CssPropertyValue<StyleTextAlignmentHorz>>,
    pub line_height: Option<CssPropertyValue<StyleLineHeight>>,
    pub letter_spacing: Option<CssPropertyValue<StyleLetterSpacing>>,
    pub word_spacing: Option<CssPropertyValue<StyleWordSpacing>>,
    pub tab_width: Option<CssPropertyValue<StyleTabWidth>>,
    pub cursor: Option<CssPropertyValue<StyleCursor>>,
    pub box_shadow_left: Option<CssPropertyValue<BoxShadowPreDisplayItem>>,
    pub box_shadow_right: Option<CssPropertyValue<BoxShadowPreDisplayItem>>,
    pub box_shadow_top: Option<CssPropertyValue<BoxShadowPreDisplayItem>>,
    pub box_shadow_bottom: Option<CssPropertyValue<BoxShadowPreDisplayItem>>,
    pub border_top_color: Option<CssPropertyValue<StyleBorderTopColor>>,
    pub border_left_color: Option<CssPropertyValue<StyleBorderLeftColor>>,
    pub border_right_color: Option<CssPropertyValue<StyleBorderRightColor>>,
    pub border_bottom_color: Option<CssPropertyValue<StyleBorderBottomColor>>,
    pub border_top_style: Option<CssPropertyValue<StyleBorderTopStyle>>,
    pub border_left_style: Option<CssPropertyValue<StyleBorderLeftStyle>>,
    pub border_right_style: Option<CssPropertyValue<StyleBorderRightStyle>>,
    pub border_bottom_style: Option<CssPropertyValue<StyleBorderBottomStyle>>,
    pub border_top_left_radius: Option<CssPropertyValue<StyleBorderTopLeftRadius>>,
    pub border_top_right_radius: Option<CssPropertyValue<StyleBorderTopRightRadius>>,
    pub border_bottom_left_radius: Option<CssPropertyValue<StyleBorderBottomLeftRadius>>,
    pub border_bottom_right_radius: Option<CssPropertyValue<StyleBorderBottomRightRadius>>,
}

Stylistic options of the rectangle that don't influence the layout

Fields

background: Option<CssPropertyValue<StyleBackgroundContent>>background_position: Option<CssPropertyValue<StyleBackgroundPosition>>background_size: Option<CssPropertyValue<StyleBackgroundSize>>background_repeat: Option<CssPropertyValue<StyleBackgroundRepeat>>font_size: Option<CssPropertyValue<StyleFontSize>>font_family: Option<CssPropertyValue<StyleFontFamily>>text_color: Option<CssPropertyValue<StyleTextColor>>text_align: Option<CssPropertyValue<StyleTextAlignmentHorz>>line_height: Option<CssPropertyValue<StyleLineHeight>>letter_spacing: Option<CssPropertyValue<StyleLetterSpacing>>word_spacing: Option<CssPropertyValue<StyleWordSpacing>>tab_width: Option<CssPropertyValue<StyleTabWidth>>cursor: Option<CssPropertyValue<StyleCursor>>box_shadow_left: Option<CssPropertyValue<BoxShadowPreDisplayItem>>box_shadow_right: Option<CssPropertyValue<BoxShadowPreDisplayItem>>box_shadow_top: Option<CssPropertyValue<BoxShadowPreDisplayItem>>box_shadow_bottom: Option<CssPropertyValue<BoxShadowPreDisplayItem>>border_top_color: Option<CssPropertyValue<StyleBorderTopColor>>border_left_color: Option<CssPropertyValue<StyleBorderLeftColor>>border_right_color: Option<CssPropertyValue<StyleBorderRightColor>>border_bottom_color: Option<CssPropertyValue<StyleBorderBottomColor>>border_top_style: Option<CssPropertyValue<StyleBorderTopStyle>>border_left_style: Option<CssPropertyValue<StyleBorderLeftStyle>>border_right_style: Option<CssPropertyValue<StyleBorderRightStyle>>border_bottom_style: Option<CssPropertyValue<StyleBorderBottomStyle>>border_top_left_radius: Option<CssPropertyValue<StyleBorderTopLeftRadius>>border_top_right_radius: Option<CssPropertyValue<StyleBorderTopRightRadius>>border_bottom_left_radius: Option<CssPropertyValue<StyleBorderBottomLeftRadius>>border_bottom_right_radius: Option<CssPropertyValue<StyleBorderBottomRightRadius>>

Implementations

impl RectStyle[src]

Trait Implementations

impl Clone for RectStyle[src]

impl Debug for RectStyle[src]

impl Default for RectStyle[src]

impl Eq for RectStyle[src]

impl Hash for RectStyle[src]

impl Ord for RectStyle[src]

impl PartialEq<RectStyle> for RectStyle[src]

impl PartialOrd<RectStyle> for RectStyle[src]

impl StructuralEq for RectStyle[src]

impl StructuralPartialEq for RectStyle[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.