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