Enum swc_css_visit::fields::ComponentValueField
source · pub enum ComponentValueField {
Show 32 variants
PreservedToken,
Function,
SimpleBlock,
AtRule,
QualifiedRule,
ListOfComponentValues,
KeyframeBlock,
Ident,
DashedIdent,
Str,
Url,
Integer,
Number,
Percentage,
Dimension,
LengthPercentage,
FrequencyPercentage,
AnglePercentage,
TimePercentage,
Ratio,
UnicodeRange,
Color,
AlphaValue,
Hue,
CmykComponent,
Delimiter,
CalcSum,
ComplexSelector,
LayerName,
SupportsCondition,
Declaration,
IdSelector,
}
Variants§
PreservedToken
Represents ComponentValue::PreservedToken
Function
Represents ComponentValue::Function
SimpleBlock
Represents ComponentValue::SimpleBlock
AtRule
Represents ComponentValue::AtRule
QualifiedRule
Represents ComponentValue::QualifiedRule
ListOfComponentValues
Represents ComponentValue::ListOfComponentValues
KeyframeBlock
Represents ComponentValue::KeyframeBlock
Ident
Represents ComponentValue::Ident
DashedIdent
Represents ComponentValue::DashedIdent
Str
Represents ComponentValue::Str
Url
Represents ComponentValue::Url
Integer
Represents ComponentValue::Integer
Number
Represents ComponentValue::Number
Percentage
Represents ComponentValue::Percentage
Dimension
Represents ComponentValue::Dimension
LengthPercentage
Represents ComponentValue::LengthPercentage
FrequencyPercentage
Represents ComponentValue::FrequencyPercentage
AnglePercentage
Represents ComponentValue::AnglePercentage
TimePercentage
Represents ComponentValue::TimePercentage
Ratio
Represents ComponentValue::Ratio
UnicodeRange
Represents ComponentValue::UnicodeRange
Color
Represents ComponentValue::Color
AlphaValue
Represents ComponentValue::AlphaValue
Hue
Represents ComponentValue::Hue
CmykComponent
Represents ComponentValue::CmykComponent
Delimiter
Represents ComponentValue::Delimiter
CalcSum
Represents ComponentValue::CalcSum
ComplexSelector
Represents ComponentValue::ComplexSelector
LayerName
Represents ComponentValue::LayerName
SupportsCondition
Represents ComponentValue::SupportsCondition
Declaration
Represents ComponentValue::Declaration
IdSelector
Represents ComponentValue::IdSelector
Trait Implementations§
source§impl Clone for ComponentValueField
impl Clone for ComponentValueField
source§fn clone(&self) -> ComponentValueField
fn clone(&self) -> ComponentValueField
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ComponentValueField
impl Debug for ComponentValueField
source§impl Hash for ComponentValueField
impl Hash for ComponentValueField
source§impl Ord for ComponentValueField
impl Ord for ComponentValueField
source§fn cmp(&self, other: &ComponentValueField) -> Ordering
fn cmp(&self, other: &ComponentValueField) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ComponentValueField
impl PartialEq for ComponentValueField
source§impl PartialOrd for ComponentValueField
impl PartialOrd for ComponentValueField
impl Copy for ComponentValueField
impl Eq for ComponentValueField
impl StructuralPartialEq for ComponentValueField
Auto Trait Implementations§
impl Freeze for ComponentValueField
impl RefUnwindSafe for ComponentValueField
impl Send for ComponentValueField
impl Sync for ComponentValueField
impl Unpin for ComponentValueField
impl UnwindSafe for ComponentValueField
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more