AnchorName

Type Alias AnchorName 

Source
pub type AnchorName = TreeScoped<AnchorNameIdent>;
Expand description

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

Aliased Type§

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

Fields§

§value: AnchorNameIdent

The scoped value.

§scope: CascadeLevel

The cascade level in the shadow tree hierarchy.

Implementations§

Source§

impl AnchorName

Source

pub fn none() -> Self

Return the none value.