MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / GraphSlice

Class GraphSlice

flow-rs/src/graph/mod.rs:31–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29use toml::value::Table;
30
31pub(crate) struct GraphSlice {
32 pub cons: Box<dyn Fn(String, &Table) -> Result<Graph> + Send + Sync>,
33 pub info: NodeInfo,
34}
35crate::collect!(String, GraphSlice);
36
37/// Represents a graph with nodes and connections, which implement `Node` and `Actor`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected