Struct move_ir_types::ast::ModuleDependency
source · pub struct ModuleDependency {
pub name: ModuleName,
pub structs: Vec<StructDependency>,
pub functions: Vec<FunctionDependency>,
}
Expand description
Explicitly given dependency
Fields§
§name: ModuleName
Qualified identifer of the dependency
structs: Vec<StructDependency>
The structs (including resources) that the dependency defines
functions: Vec<FunctionDependency>
The signatures of functions that the dependency defines
Trait Implementations§
source§impl Clone for ModuleDependency
impl Clone for ModuleDependency
source§fn clone(&self) -> ModuleDependency
fn clone(&self) -> ModuleDependency
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 Debug for ModuleDependency
impl Debug for ModuleDependency
source§impl Display for ModuleDependency
impl Display for ModuleDependency
source§impl PartialEq<ModuleDependency> for ModuleDependency
impl PartialEq<ModuleDependency> for ModuleDependency
source§fn eq(&self, other: &ModuleDependency) -> bool
fn eq(&self, other: &ModuleDependency) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.