Type Alias style::values::AtomIdent

source ·
pub type AtomIdent = GenericAtomIdent<AtomStaticSet>;
Expand description

A generic CSS <ident> stored as an Atom, for the default atom set.

Aliased Type§

struct AtomIdent(pub Atom<AtomStaticSet>);

Fields§

§0: Atom<AtomStaticSet>

Trait Implementations§

source§

impl ToComputedValue for AtomIdent

§

type ComputedValue = GenericAtomIdent<AtomStaticSet>

The computed value type we’re going to be converted to.
source§

fn to_computed_value(&self, _: &Context<'_>) -> Self

Convert a specified value to a computed value, using itself and the data inside the Context.
source§

fn from_computed_value(other: &Self) -> Self

Convert a computed value to specified value form. Read more
source§

impl ToResolvedValue for AtomIdent

§

type ResolvedValue = GenericAtomIdent<AtomStaticSet>

The resolved value type we’re going to be converted to.
source§

fn to_resolved_value(self, _: &Context<'_>) -> Self

Convert a resolved value to a resolved value.
source§

fn from_resolved_value(resolved: Self::ResolvedValue) -> Self

Convert a resolved value to resolved value form.