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: ModuleNameQualified 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
sourceimpl Clone for ModuleDependency
impl Clone for ModuleDependency
sourcefn clone(&self) -> ModuleDependency
fn clone(&self) -> ModuleDependency
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ModuleDependency
impl Debug for ModuleDependency
sourceimpl Display for ModuleDependency
impl Display for ModuleDependency
sourceimpl PartialEq<ModuleDependency> for ModuleDependency
impl PartialEq<ModuleDependency> for ModuleDependency
sourcefn 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 ==. Read more
impl StructuralPartialEq for ModuleDependency
Auto Trait Implementations
impl RefUnwindSafe for ModuleDependency
impl Send for ModuleDependency
impl Sync for ModuleDependency
impl Unpin for ModuleDependency
impl UnwindSafe for ModuleDependency
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more