Enum move_ir_types::ast::ScriptOrModule
source · pub enum ScriptOrModule {
Script(Script),
Module(ModuleDefinition),
}
Expand description
A script or a module, used to represent the two types of transactions.
Variants§
Trait Implementations§
source§impl Clone for ScriptOrModule
impl Clone for ScriptOrModule
source§fn clone(&self) -> ScriptOrModule
fn clone(&self) -> ScriptOrModule
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