Enum swc_css_visit::fields::AtRulePreludeField
source · pub enum AtRulePreludeField {
Show 19 variants
ListOfComponentValues,
PropertyPrelude,
CounterStylePrelude,
ColorProfilePrelude,
CharsetPrelude,
DocumentPrelude,
FontPaletteValuesPrelude,
FontFeatureValuesPrelude,
NestPrelude,
KeyframesPrelude,
ImportPrelude,
NamespacePrelude,
MediaPrelude,
SupportsPrelude,
PagePrelude,
LayerPrelude,
ContainerPrelude,
CustomMediaPrelude,
ScopePrelude,
}
Expand description
This enum represents fields of AtRulePreludeField
Variants§
ListOfComponentValues
This represents ListOfComponentValues
PropertyPrelude
This represents PropertyPrelude
CounterStylePrelude
This represents CounterStylePrelude
ColorProfilePrelude
This represents ColorProfilePrelude
CharsetPrelude
This represents CharsetPrelude
DocumentPrelude
This represents DocumentPrelude
FontPaletteValuesPrelude
This represents FontPaletteValuesPrelude
FontFeatureValuesPrelude
This represents FontFeatureValuesPrelude
NestPrelude
This represents NestPrelude
KeyframesPrelude
This represents KeyframesPrelude
ImportPrelude
This represents ImportPrelude
NamespacePrelude
This represents NamespacePrelude
MediaPrelude
This represents MediaPrelude
SupportsPrelude
This represents SupportsPrelude
PagePrelude
This represents PagePrelude
LayerPrelude
This represents LayerPrelude
ContainerPrelude
This represents ContainerPrelude
CustomMediaPrelude
This represents CustomMediaPrelude
ScopePrelude
This represents ScopePrelude
Implementations§
Trait Implementations§
source§impl Clone for AtRulePreludeField
impl Clone for AtRulePreludeField
source§fn clone(&self) -> AtRulePreludeField
fn clone(&self) -> AtRulePreludeField
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AtRulePreludeField
impl Debug for AtRulePreludeField
source§impl<'de> Deserialize<'de> for AtRulePreludeField
impl<'de> Deserialize<'de> for AtRulePreludeField
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for AtRulePreludeField
impl Hash for AtRulePreludeField
source§impl Ord for AtRulePreludeField
impl Ord for AtRulePreludeField
source§fn cmp(&self, other: &AtRulePreludeField) -> Ordering
fn cmp(&self, other: &AtRulePreludeField) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for AtRulePreludeField
impl PartialEq for AtRulePreludeField
source§fn eq(&self, other: &AtRulePreludeField) -> bool
fn eq(&self, other: &AtRulePreludeField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AtRulePreludeField
impl PartialOrd for AtRulePreludeField
source§fn partial_cmp(&self, other: &AtRulePreludeField) -> Option<Ordering>
fn partial_cmp(&self, other: &AtRulePreludeField) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for AtRulePreludeField
impl Serialize for AtRulePreludeField
impl Copy for AtRulePreludeField
impl Eq for AtRulePreludeField
impl StructuralEq for AtRulePreludeField
impl StructuralPartialEq for AtRulePreludeField
Auto Trait Implementations§
impl RefUnwindSafe for AtRulePreludeField
impl Send for AtRulePreludeField
impl Sync for AtRulePreludeField
impl Unpin for AtRulePreludeField
impl UnwindSafe for AtRulePreludeField
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
Mutably borrows from an owned value. Read more