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

Method default

flow-rs/src/registry.rs:31–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29
30impl<ID: Eq + Hash, T> Default for Registry<ID, T> {
31 fn default() -> Registry<ID, T> {
32 Registry {
33 inner: RwLock::new(RegistryInner {
34 elems: HashMap::new(),
35 }),
36 }
37 }
38}
39
40impl<ID: Eq + Hash, T> Default for RegistryMap<ID, T> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected