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

Method new

flow-derive/examples/node_derive.rs:21–25  ·  view source on GitHub ↗
(_: String, _args: &toml::value::Table)

Source from the content-addressed store, hash-verified

19
20impl SubNode {
21 fn new(_: String, _args: &toml::value::Table) -> Self {
22 SubNode {
23 ..Default::default()
24 }
25 }
26
27 async fn initialize(&mut self, _: ResourceCollection) {}
28 async fn finalize(&mut self) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected