pub struct NGraph<K: Hash + Eq + Sized + Debug, T> { /* private fields */ }
Expand description

Implementations

重置 图

遍历 局部图

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

节点

根据 key 取 节点

根据 key 取 节点

取节点的数量

取 有输入节点 的 数量

取 有输出节点 的 数量

取 输入节点 切片

取 输出节点 切片

拓扑排序

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.