Enum syn_solidity::VarDeclDecl
source · 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 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