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