pub enum VarDeclDecl {
VarDecl(VariableDeclaration),
Tuple(VarDeclTuple),
}
Expand description
The declaration of the variable(s) in a variable declaration statement.
Variants§
VarDecl(VariableDeclaration)
Tuple(VarDeclTuple)
Trait Implementations§
Source§impl Clone for VarDeclDecl
impl Clone for VarDeclDecl
Source§fn clone(&self) -> VarDeclDecl
fn clone(&self) -> VarDeclDecl
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 VarDeclDecl
impl Debug for VarDeclDecl
Source§impl Parse for VarDeclDecl
impl Parse for VarDeclDecl
fn parse(input: ParseStream<'_>) -> Result<Self>
Source§impl Spanned for VarDeclDecl
impl Spanned for VarDeclDecl
Source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.Auto Trait Implementations§
impl Freeze for VarDeclDecl
impl RefUnwindSafe for VarDeclDecl
impl !Send for VarDeclDecl
impl !Sync for VarDeclDecl
impl Unpin for VarDeclDecl
impl UnwindSafe for VarDeclDecl
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