Enum parse_js::ast::VarDeclMode
source · pub enum VarDeclMode {
Const,
Let,
Var,
}
Variants§
Trait Implementations§
source§impl Clone for VarDeclMode
impl Clone for VarDeclMode
source§fn clone(&self) -> VarDeclMode
fn clone(&self) -> VarDeclMode
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 VarDeclMode
impl Debug for VarDeclMode
source§impl PartialEq for VarDeclMode
impl PartialEq for VarDeclMode
source§fn eq(&self, other: &VarDeclMode) -> bool
fn eq(&self, other: &VarDeclMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for VarDeclMode
impl Eq for VarDeclMode
impl StructuralEq for VarDeclMode
impl StructuralPartialEq for VarDeclMode
Auto Trait Implementations§
impl RefUnwindSafe for VarDeclMode
impl Send for VarDeclMode
impl Sync for VarDeclMode
impl Unpin for VarDeclMode
impl UnwindSafe for VarDeclMode
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