Type Alias Style

Source
pub type Style = Cow<'static, str>;
Expand description

Style representation. rcss uses &'static str as style representation but we use Cow<'static, str> to support dynamic extension.

Aliased Type§

enum Style {
    Borrowed(&'static str),
    Owned(String),
}

Variants§

§1.0.0

Borrowed(&'static str)

Borrowed data.

§1.0.0

Owned(String)

Owned data.