Type Alias ScopeId

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

Identifier of scoped style. rcss uses &'static str as scope_id but we use Cow<'static, str> to support dynamic extension.

Aliased Type§

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

Variants§

§1.0.0

Borrowed(&'static str)

Borrowed data.

§1.0.0

Owned(String)

Owned data.