Struct style::properties::shorthands::font::LonghandsToSerialize [] [src]

pub struct LonghandsToSerialize<'a> {
    pub font_style: &'a SpecifiedValue,
    pub font_variant_caps: &'a SpecifiedValue,
    pub font_weight: &'a SpecifiedValue,
    pub font_stretch: &'a SpecifiedValue,
    pub font_size: &'a SpecifiedValue,
    pub line_height: &'a SpecifiedValue,
    pub font_family: &'a SpecifiedValue,
}

Represents a serializable set of all of the longhand properties that correspond to a shorthand.

Fields

Methods

impl<'a> LonghandsToSerialize<'a>
[src]

[src]

Tries to get a serializable set of longhands given a set of property declarations.

Trait Implementations

impl<'a> ToCss for LonghandsToSerialize<'a>
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

Serialize self in CSS syntax and return a string. Read more