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

Method new

flow-rs/src/loader/python/port.rs:23–29  ·  view source on GitHub ↗
(name: String, ty: PortTy)

Source from the content-addressed store, hash-verified

21
22impl<T> AnyPort<T> {
23 fn new(name: String, ty: PortTy) -> Self {
24 AnyPort {
25 storage: Default::default(),
26 ty,
27 name,
28 }
29 }
30}
31
32impl<T> AnyPort<T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected