Enum swc_css_visit::fields::SupportsOrField
source · pub enum SupportsOrField {
Span,
Keyword,
Condition,
}
Expand description
This enum represents fields of SupportsOrField
Variants§
Implementations§
Trait Implementations§
source§impl Clone for SupportsOrField
impl Clone for SupportsOrField
source§fn clone(&self) -> SupportsOrField
fn clone(&self) -> SupportsOrField
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 SupportsOrField
impl Debug for SupportsOrField
source§impl<'de> Deserialize<'de> for SupportsOrField
impl<'de> Deserialize<'de> for SupportsOrField
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 SupportsOrField
impl Hash for SupportsOrField
source§impl Ord for SupportsOrField
impl Ord for SupportsOrField
source§fn cmp(&self, other: &SupportsOrField) -> Ordering
fn cmp(&self, other: &SupportsOrField) -> 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 SupportsOrField
impl PartialEq for SupportsOrField
source§fn eq(&self, other: &SupportsOrField) -> bool
fn eq(&self, other: &SupportsOrField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SupportsOrField
impl PartialOrd for SupportsOrField
source§fn partial_cmp(&self, other: &SupportsOrField) -> Option<Ordering>
fn partial_cmp(&self, other: &SupportsOrField) -> 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 SupportsOrField
impl Serialize for SupportsOrField
impl Copy for SupportsOrField
impl Eq for SupportsOrField
impl StructuralEq for SupportsOrField
impl StructuralPartialEq for SupportsOrField
Auto Trait Implementations§
impl RefUnwindSafe for SupportsOrField
impl Send for SupportsOrField
impl Sync for SupportsOrField
impl Unpin for SupportsOrField
impl UnwindSafe for SupportsOrField
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