Enum swc_ecma_transforms_base::scope::DeclKind
source · [−]pub enum DeclKind {
Lexical,
Param,
Var,
Function,
Type,
}
Variants
Lexical
Param
Var
Function
Type
don’t actually get stored
Trait Implementations
sourceimpl From<VarDeclKind> for DeclKind
impl From<VarDeclKind> for DeclKind
sourcefn from(kind: VarDeclKind) -> Self
fn from(kind: VarDeclKind) -> Self
Converts to this type from the input type.
impl Copy for DeclKind
impl Eq for DeclKind
impl StructuralEq for DeclKind
impl StructuralPartialEq for DeclKind
Auto Trait Implementations
impl RefUnwindSafe for DeclKind
impl Send for DeclKind
impl Sync for DeclKind
impl Unpin for DeclKind
impl UnwindSafe for DeclKind
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.