Enum move_lang::parser::ast::ModuleMember
source · pub enum ModuleMember {
Function(Function),
Struct(StructDefinition),
Use(UseDecl),
Friend(FriendDecl),
Constant(Constant),
Spec(SpecBlock),
}
Variants§
Function(Function)
Struct(StructDefinition)
Use(UseDecl)
Friend(FriendDecl)
Constant(Constant)
Spec(SpecBlock)
Trait Implementations§
source§impl Clone for ModuleMember
impl Clone for ModuleMember
source§fn clone(&self) -> ModuleMember
fn clone(&self) -> ModuleMember
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