Enum dprint_swc_ecma_ast_view::VarDeclKind[]

pub enum VarDeclKind {
    Var,
    Let,
    Const,
}

Variants

Var

var

Let

let

Const

const

Implementations

impl VarDeclKind

pub fn as_str(&self) -> &'static str

Trait Implementations

impl Clone for VarDeclKind

impl Copy for VarDeclKind

impl Debug for VarDeclKind

impl<'de> Deserialize<'de> for VarDeclKind

impl Display for VarDeclKind

impl Eq for VarDeclKind

impl EqIgnoreSpan for VarDeclKind

impl<V> FoldWith<V> for VarDeclKind where
    V: Fold, 

impl FromStr for VarDeclKind

type Err = ()

The associated error which can be returned from parsing.

impl Hash for VarDeclKind

impl Ord for VarDeclKind

impl PartialEq<VarDeclKind> for VarDeclKind

impl PartialOrd<VarDeclKind> for VarDeclKind

impl Serialize for VarDeclKind

impl StructuralEq for VarDeclKind

impl StructuralPartialEq for VarDeclKind

impl<V> VisitAllWith<V> for VarDeclKind where
    V: VisitAll, 

impl<V> VisitMutWith<V> for VarDeclKind where
    V: VisitMut, 

impl<V> VisitWith<V> for VarDeclKind where
    V: Visit, 

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Node for T where
    T: Any + ?Sized

impl<T> Send for T where
    T: ?Sized
[src]

impl<T> Sync for T where
    T: ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.