pub enum VarDeclKind {
Var,
Global,
Const,
Let,
Typed,
}Expand description
Declaration kind for a variable declaration node.
Variants§
Trait Implementations§
Source§impl Clone for VarDeclKind
impl Clone for VarDeclKind
Source§fn clone(&self) -> VarDeclKind
fn clone(&self) -> VarDeclKind
Returns a duplicate 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 VarDeclKind
impl Debug for VarDeclKind
Source§impl PartialEq for VarDeclKind
impl PartialEq for VarDeclKind
impl Copy for VarDeclKind
impl Eq for VarDeclKind
impl StructuralPartialEq for VarDeclKind
Auto Trait Implementations§
impl Freeze for VarDeclKind
impl RefUnwindSafe for VarDeclKind
impl Send for VarDeclKind
impl Sync for VarDeclKind
impl Unpin for VarDeclKind
impl UnsafeUnpin for VarDeclKind
impl UnwindSafe for VarDeclKind
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