SpecifiedValue

Type Alias SpecifiedValue 

Source
pub type SpecifiedValue = VariableValue;
Expand description

Both specified and computed values are VariableValues, the difference is whether var() functions are expanded.

Aliased Type§

pub struct SpecifiedValue {
    pub css: String,
    pub url_data: UrlExtraData,
    /* private fields */
}

Fields§

§css: String

The raw CSS string.

§url_data: UrlExtraData

The url data of the stylesheet where this value came from.

Trait Implementations§

Source§

impl ToCss for SpecifiedValue

Source§

fn to_css<W>(&self, dest: &mut CssWriter<'_, W>) -> Result
where W: Write,

Serialize self in CSS syntax, writing to dest.
Source§

fn to_css_string(&self) -> String

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

fn to_css_cssstring(&self) -> String

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