pub type KeywordDiscriminant = u8;
Expand description

A generic discriminant for an enum value.

Trait Implementations§

source§

impl ToComputedValue for u8

§

type ComputedValue = u8

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 u8

§

type ResolvedValue = u8

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.