Struct lunarity_ast::VariableDeclaration
source · pub struct VariableDeclaration<'ast> {
pub type_name: TypeNameNode<'ast>,
pub location: Option<Node<'ast, StorageLocation>>,
pub id: IdentifierNode<'ast>,
}
Fields§
§type_name: TypeNameNode<'ast>
§location: Option<Node<'ast, StorageLocation>>
§id: IdentifierNode<'ast>
Trait Implementations§
source§impl<'ast> Clone for VariableDeclaration<'ast>
impl<'ast> Clone for VariableDeclaration<'ast>
source§fn clone(&self) -> VariableDeclaration<'ast>
fn clone(&self) -> VariableDeclaration<'ast>
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 more