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

Class AnyPort

flow-rs/src/loader/python/port.rs:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14use std::collections::BTreeMap;
15
16pub(super) struct AnyPort<T> {
17 pub storage: BTreeMap<u64, T>,
18 pub ty: PortTy,
19 pub name: String,
20}
21
22impl<T> AnyPort<T> {
23 fn new(name: String, ty: PortTy) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected