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