Struct lunarity_ast::UsingForDeclaration
source · pub struct UsingForDeclaration<'ast> {
pub id: IdentifierNode<'ast>,
pub type_name: Option<TypeNameNode<'ast>>,
}
Fields§
§id: IdentifierNode<'ast>
§type_name: Option<TypeNameNode<'ast>>
Trait Implementations§
source§impl<'ast> Clone for UsingForDeclaration<'ast>
impl<'ast> Clone for UsingForDeclaration<'ast>
source§fn clone(&self) -> UsingForDeclaration<'ast>
fn clone(&self) -> UsingForDeclaration<'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 moresource§impl<'ast> Debug for UsingForDeclaration<'ast>
impl<'ast> Debug for UsingForDeclaration<'ast>
source§impl<'ast> From<UsingForDeclaration<'ast>> for ContractPart<'ast>
impl<'ast> From<UsingForDeclaration<'ast>> for ContractPart<'ast>
source§fn from(val: UsingForDeclaration<'ast>) -> Self
fn from(val: UsingForDeclaration<'ast>) -> Self
Converts to this type from the input type.