Struct move_lang::parser::ast::ModuleDefinition
source · pub struct ModuleDefinition {
pub attributes: Vec<Attributes>,
pub loc: Loc,
pub address: Option<LeadingNameAccess>,
pub name: ModuleName,
pub is_spec_module: bool,
pub members: Vec<ModuleMember>,
}
Fields§
§attributes: Vec<Attributes>
§loc: Loc
§address: Option<LeadingNameAccess>
§name: ModuleName
§is_spec_module: bool
§members: Vec<ModuleMember>
Trait Implementations§
source§impl Clone for ModuleDefinition
impl Clone for ModuleDefinition
source§fn clone(&self) -> ModuleDefinition
fn clone(&self) -> ModuleDefinition
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