Type Alias style::Atom

source ·
pub type Atom = Atom<AtomStaticSet>;

Aliased Type§

struct Atom {
    unsafe_data: NonZero<u64>,
    phantom: PhantomData<AtomStaticSet>,
}

Fields§

§unsafe_data: NonZero<u64>§phantom: PhantomData<AtomStaticSet>

Trait Implementations§

source§

impl ToComputedValue for Atom

§

type ComputedValue = Atom<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 Atom

§

type ResolvedValue = Atom<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.