ScopedName

Type Alias ScopedName 

Source
pub type ScopedName = TreeScoped<ScopedNameKeyword>;
Expand description

A scoped name type, such as:

  • https://drafts.csswg.org/css-anchor-position-1/#propdef-scope

Aliased Type§

#[repr(C)]
pub struct ScopedName { pub value: ScopedNameKeyword, pub scope: CascadeLevel, }

Fields§

§value: ScopedNameKeyword

The scoped value.

§scope: CascadeLevel

The cascade level in the shadow tree hierarchy.

Implementations§

Source§

impl ScopedName

Source

pub fn none() -> Self

Return the none value.