Enum esr::ast::DeclarationKind
source · pub enum DeclarationKind {
Var,
Let,
Const,
}
Variants
Var
Let
Const
Trait Implementations
sourceimpl Clone for DeclarationKind
impl Clone for DeclarationKind
sourcefn clone(&self) -> DeclarationKind
fn clone(&self) -> DeclarationKind
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 DeclarationKind
impl Debug for DeclarationKind
sourceimpl PartialEq<DeclarationKind> for DeclarationKind
impl PartialEq<DeclarationKind> for DeclarationKind
sourcefn eq(&self, other: &DeclarationKind) -> bool
fn eq(&self, other: &DeclarationKind) -> bool
sourceimpl<'ast> Serialize for DeclarationKind
impl<'ast> Serialize for DeclarationKind
impl Copy for DeclarationKind
impl StructuralPartialEq for DeclarationKind
Auto Trait Implementations
impl RefUnwindSafe for DeclarationKind
impl Send for DeclarationKind
impl Sync for DeclarationKind
impl Unpin for DeclarationKind
impl UnwindSafe for DeclarationKind
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