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