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

Interface IndexGet

flow-message/src/cross/data/mod.rs:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17use enum_as_inner::EnumAsInner;
18
19pub trait IndexGet<Idx, Output>
20where
21 Idx: ?Sized,
22{
23 fn get(&self, index: Idx) -> Option<Output>;
24}
25
26pub trait IndexSet<Idx, Value>
27where

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected