pub struct DependencyNode {
pub name: String,
pub dependencies: Vec<ModuleDependency>,
pub dependents: HashSet<String>,
pub loaded: bool,
}Expand description
Dependency graph node.
Fields§
§name: StringModule name.
dependencies: Vec<ModuleDependency>Dependencies this module requires.
dependents: HashSet<String>Modules that depend on this one (reverse deps).
loaded: boolWhether the module is loaded.
Trait Implementations§
Source§impl Clone for DependencyNode
impl Clone for DependencyNode
Source§fn clone(&self) -> DependencyNode
fn clone(&self) -> DependencyNode
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DependencyNode
impl RefUnwindSafe for DependencyNode
impl Send for DependencyNode
impl Sync for DependencyNode
impl Unpin for DependencyNode
impl UnsafeUnpin for DependencyNode
impl UnwindSafe for DependencyNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more