pub enum ComponentValueResolver {
Show 32 variants PreservedToken(Resolver<Box<TokenAndSpan>>), Function(Resolver<Box<Function>>), SimpleBlock(Resolver<Box<SimpleBlock>>), AtRule(Resolver<Box<AtRule>>), QualifiedRule(Resolver<Box<QualifiedRule>>), ListOfComponentValues(Resolver<Box<ListOfComponentValues>>), KeyframeBlock(Resolver<Box<KeyframeBlock>>), Ident(Resolver<Box<Ident>>), DashedIdent(Resolver<Box<DashedIdent>>), Str(Resolver<Box<Str>>), Url(Resolver<Box<Url>>), Integer(Resolver<Box<Integer>>), Number(Resolver<Box<Number>>), Percentage(Resolver<Box<Percentage>>), Dimension(Resolver<Box<Dimension>>), LengthPercentage(Resolver<Box<LengthPercentage>>), FrequencyPercentage(Resolver<Box<FrequencyPercentage>>), AnglePercentage(Resolver<Box<AnglePercentage>>), TimePercentage(Resolver<Box<TimePercentage>>), Ratio(Resolver<Box<Ratio>>), UnicodeRange(Resolver<Box<UnicodeRange>>), Color(Resolver<Box<Color>>), AlphaValue(Resolver<Box<AlphaValue>>), Hue(Resolver<Box<Hue>>), CmykComponent(Resolver<Box<CmykComponent>>), Delimiter(Resolver<Box<Delimiter>>), CalcSum(Resolver<Box<CalcSum>>), ComplexSelector(Resolver<Box<ComplexSelector>>), LayerName(Resolver<Box<LayerName>>), SupportsCondition(Resolver<Box<SupportsCondition>>), Declaration(Resolver<Box<Declaration>>), IdSelector(Resolver<Box<IdSelector>>),
}
Expand description

The resolver for an archived ComponentValue

Variants§

§

PreservedToken(Resolver<Box<TokenAndSpan>>)

§

Function(Resolver<Box<Function>>)

Tuple Fields

The resolver for ComponentValue::Function

§

SimpleBlock(Resolver<Box<SimpleBlock>>)

Tuple Fields

The resolver for ComponentValue::SimpleBlock

§

AtRule(Resolver<Box<AtRule>>)

Tuple Fields

The resolver for ComponentValue::AtRule

§

QualifiedRule(Resolver<Box<QualifiedRule>>)

§

ListOfComponentValues(Resolver<Box<ListOfComponentValues>>)

§

KeyframeBlock(Resolver<Box<KeyframeBlock>>)

§

Ident(Resolver<Box<Ident>>)

Tuple Fields

The resolver for ComponentValue::Ident

§

DashedIdent(Resolver<Box<DashedIdent>>)

Tuple Fields

The resolver for ComponentValue::DashedIdent

§

Str(Resolver<Box<Str>>)

Tuple Fields

The resolver for ComponentValue::Str

§

Url(Resolver<Box<Url>>)

Tuple Fields

The resolver for ComponentValue::Url

§

Integer(Resolver<Box<Integer>>)

Tuple Fields

The resolver for ComponentValue::Integer

§

Number(Resolver<Box<Number>>)

Tuple Fields

The resolver for ComponentValue::Number

§

Percentage(Resolver<Box<Percentage>>)

Tuple Fields

The resolver for ComponentValue::Percentage

§

Dimension(Resolver<Box<Dimension>>)

Tuple Fields

The resolver for ComponentValue::Dimension

§

LengthPercentage(Resolver<Box<LengthPercentage>>)

§

FrequencyPercentage(Resolver<Box<FrequencyPercentage>>)

§

AnglePercentage(Resolver<Box<AnglePercentage>>)

§

TimePercentage(Resolver<Box<TimePercentage>>)

§

Ratio(Resolver<Box<Ratio>>)

Tuple Fields

The resolver for ComponentValue::Ratio

§

UnicodeRange(Resolver<Box<UnicodeRange>>)

§

Color(Resolver<Box<Color>>)

Tuple Fields

The resolver for ComponentValue::Color

§

AlphaValue(Resolver<Box<AlphaValue>>)

Tuple Fields

The resolver for ComponentValue::AlphaValue

§

Hue(Resolver<Box<Hue>>)

Tuple Fields

The resolver for ComponentValue::Hue

§

CmykComponent(Resolver<Box<CmykComponent>>)

§

Delimiter(Resolver<Box<Delimiter>>)

Tuple Fields

The resolver for ComponentValue::Delimiter

§

CalcSum(Resolver<Box<CalcSum>>)

Tuple Fields

The resolver for ComponentValue::CalcSum

§

ComplexSelector(Resolver<Box<ComplexSelector>>)

§

LayerName(Resolver<Box<LayerName>>)

Tuple Fields

The resolver for ComponentValue::LayerName

§

SupportsCondition(Resolver<Box<SupportsCondition>>)

§

Declaration(Resolver<Box<Declaration>>)

Tuple Fields

The resolver for ComponentValue::Declaration

§

IdSelector(Resolver<Box<IdSelector>>)

Tuple Fields

The resolver for ComponentValue::IdSelector

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
source§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,

source§

fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> LayoutRaw for T

source§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
source§

impl<T> Pointable for T

source§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more