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

Method new

flow-rs/src/loader/python/mod.rs:45–47  ·  view source on GitHub ↗
(local_key: u64, params: RegistryNodeParams)

Source from the content-addressed store, hash-verified

43
44impl NodePlugin {
45 fn new(local_key: u64, params: RegistryNodeParams) -> NodePlugin {
46 NodePlugin { local_key, params }
47 }
48
49 fn boxed(self) -> Box<dyn Plugin> {
50 Box::new(self)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected