Enum swc_ecma_visit::fields::VarDeclaratorField
source · [−]pub enum VarDeclaratorField {
Span,
Name,
Init,
Definite,
}
Expand description
This enum represents fields of VarDeclaratorField
Variants
Span
This represents span
Name
This represents name
Init
This represents init
Definite
This represents definite
Implementations
Trait Implementations
sourceimpl Clone for VarDeclaratorField
impl Clone for VarDeclaratorField
sourcefn clone(&self) -> VarDeclaratorField
fn clone(&self) -> VarDeclaratorField
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for VarDeclaratorField
impl Debug for VarDeclaratorField
sourceimpl Hash for VarDeclaratorField
impl Hash for VarDeclaratorField
sourceimpl Ord for VarDeclaratorField
impl Ord for VarDeclaratorField
sourcefn cmp(&self, other: &VarDeclaratorField) -> Ordering
fn cmp(&self, other: &VarDeclaratorField) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<VarDeclaratorField> for VarDeclaratorField
impl PartialEq<VarDeclaratorField> for VarDeclaratorField
sourcefn eq(&self, other: &VarDeclaratorField) -> bool
fn eq(&self, other: &VarDeclaratorField) -> bool
sourceimpl PartialOrd<VarDeclaratorField> for VarDeclaratorField
impl PartialOrd<VarDeclaratorField> for VarDeclaratorField
sourcefn partial_cmp(&self, other: &VarDeclaratorField) -> Option<Ordering>
fn partial_cmp(&self, other: &VarDeclaratorField) -> Option<Ordering>
1.0.0 · sourcefn 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 moreimpl Copy for VarDeclaratorField
impl Eq for VarDeclaratorField
impl StructuralEq for VarDeclaratorField
impl StructuralPartialEq for VarDeclaratorField
Auto Trait Implementations
impl RefUnwindSafe for VarDeclaratorField
impl Send for VarDeclaratorField
impl Sync for VarDeclaratorField
impl Unpin for VarDeclaratorField
impl UnwindSafe for VarDeclaratorField
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more