pub struct GraphNode {
pub stem: String,
pub dependents: usize,
pub dependencies: usize,
}Expand description
A single node in the graph with metadata.
Fields§
§stem: StringContract stem (e.g. “softmax-kernel-v1”).
dependents: usizeNumber of contracts that depend on this one.
dependencies: usizeNumber of contracts this one depends on.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphNode
impl RefUnwindSafe for GraphNode
impl Send for GraphNode
impl Sync for GraphNode
impl Unpin for GraphNode
impl UnsafeUnpin for GraphNode
impl UnwindSafe for GraphNode
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