Enum swc_css_ast::AtRulePrelude
source · [−]pub enum AtRulePrelude {
Show 15 variants
ListOfComponentValues(ListOfComponentValues),
CharsetPrelude(Str),
PropertyPrelude(CustomPropertyName),
CounterStylePrelude(CustomIdent),
ColorProfilePrelude(ColorProfileName),
DocumentPrelude(DocumentPrelude),
FontPaletteValuesPrelude(DashedIdent),
NestPrelude(SelectorList),
KeyframesPrelude(KeyframesName),
ImportPrelude(ImportPrelude),
NamespacePrelude(NamespacePrelude),
MediaPrelude(MediaQueryList),
SupportsPrelude(SupportsCondition),
PagePrelude(PageSelectorList),
LayerPrelude(LayerPrelude),
}
Variants
ListOfComponentValues(ListOfComponentValues)
CharsetPrelude(Str)
PropertyPrelude(CustomPropertyName)
CounterStylePrelude(CustomIdent)
ColorProfilePrelude(ColorProfileName)
DocumentPrelude(DocumentPrelude)
FontPaletteValuesPrelude(DashedIdent)
NestPrelude(SelectorList)
KeyframesPrelude(KeyframesName)
ImportPrelude(ImportPrelude)
NamespacePrelude(NamespacePrelude)
MediaPrelude(MediaQueryList)
SupportsPrelude(SupportsCondition)
PagePrelude(PageSelectorList)
LayerPrelude(LayerPrelude)
Trait Implementations
sourceimpl Clone for AtRulePrelude
impl Clone for AtRulePrelude
sourcefn clone(&self) -> AtRulePrelude
fn clone(&self) -> AtRulePrelude
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AtRulePrelude
impl Debug for AtRulePrelude
sourceimpl<'de> Deserialize<'de> for AtRulePrelude
impl<'de> Deserialize<'de> for AtRulePrelude
sourcefn 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
sourceimpl From<ColorProfileName> for AtRulePrelude
impl From<ColorProfileName> for AtRulePrelude
sourcefn from(v: ColorProfileName) -> Self
fn from(v: ColorProfileName) -> Self
Converts to this type from the input type.
sourceimpl From<CustomIdent> for AtRulePrelude
impl From<CustomIdent> for AtRulePrelude
sourcefn from(v: CustomIdent) -> Self
fn from(v: CustomIdent) -> Self
Converts to this type from the input type.
sourceimpl From<CustomPropertyName> for AtRulePrelude
impl From<CustomPropertyName> for AtRulePrelude
sourcefn from(v: CustomPropertyName) -> Self
fn from(v: CustomPropertyName) -> Self
Converts to this type from the input type.
sourceimpl From<DashedIdent> for AtRulePrelude
impl From<DashedIdent> for AtRulePrelude
sourcefn from(v: DashedIdent) -> Self
fn from(v: DashedIdent) -> Self
Converts to this type from the input type.
sourceimpl From<DocumentPrelude> for AtRulePrelude
impl From<DocumentPrelude> for AtRulePrelude
sourcefn from(v: DocumentPrelude) -> Self
fn from(v: DocumentPrelude) -> Self
Converts to this type from the input type.
sourceimpl From<ImportPrelude> for AtRulePrelude
impl From<ImportPrelude> for AtRulePrelude
sourcefn from(v: ImportPrelude) -> Self
fn from(v: ImportPrelude) -> Self
Converts to this type from the input type.
sourceimpl From<KeyframesName> for AtRulePrelude
impl From<KeyframesName> for AtRulePrelude
sourcefn from(v: KeyframesName) -> Self
fn from(v: KeyframesName) -> Self
Converts to this type from the input type.
sourceimpl From<LayerPrelude> for AtRulePrelude
impl From<LayerPrelude> for AtRulePrelude
sourcefn from(v: LayerPrelude) -> Self
fn from(v: LayerPrelude) -> Self
Converts to this type from the input type.
sourceimpl From<ListOfComponentValues> for AtRulePrelude
impl From<ListOfComponentValues> for AtRulePrelude
sourcefn from(v: ListOfComponentValues) -> Self
fn from(v: ListOfComponentValues) -> Self
Converts to this type from the input type.
sourceimpl From<MediaQueryList> for AtRulePrelude
impl From<MediaQueryList> for AtRulePrelude
sourcefn from(v: MediaQueryList) -> Self
fn from(v: MediaQueryList) -> Self
Converts to this type from the input type.
sourceimpl From<NamespacePrelude> for AtRulePrelude
impl From<NamespacePrelude> for AtRulePrelude
sourcefn from(v: NamespacePrelude) -> Self
fn from(v: NamespacePrelude) -> Self
Converts to this type from the input type.
sourceimpl From<PageSelectorList> for AtRulePrelude
impl From<PageSelectorList> for AtRulePrelude
sourcefn from(v: PageSelectorList) -> Self
fn from(v: PageSelectorList) -> Self
Converts to this type from the input type.
sourceimpl From<SelectorList> for AtRulePrelude
impl From<SelectorList> for AtRulePrelude
sourcefn from(v: SelectorList) -> Self
fn from(v: SelectorList) -> Self
Converts to this type from the input type.
sourceimpl From<Str> for AtRulePrelude
impl From<Str> for AtRulePrelude
sourceimpl From<SupportsCondition> for AtRulePrelude
impl From<SupportsCondition> for AtRulePrelude
sourcefn from(v: SupportsCondition) -> Self
fn from(v: SupportsCondition) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<AtRulePrelude> for AtRulePrelude
impl PartialEq<AtRulePrelude> for AtRulePrelude
sourcefn eq(&self, other: &AtRulePrelude) -> bool
fn eq(&self, other: &AtRulePrelude) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AtRulePrelude) -> bool
fn ne(&self, other: &AtRulePrelude) -> bool
This method tests for !=
.
sourceimpl Serialize for AtRulePrelude
impl Serialize for AtRulePrelude
impl StructuralPartialEq for AtRulePrelude
Auto Trait Implementations
impl RefUnwindSafe for AtRulePrelude
impl Send for AtRulePrelude
impl Sync for AtRulePrelude
impl Unpin for AtRulePrelude
impl UnwindSafe for AtRulePrelude
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more