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

Method view

flow-rs/src/resource/lazy.rs:34–36  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

32 }
33
34 pub fn view(&self) -> Option<&T> {
35 self.inner.as_ref()
36 }
37}
38
39// we will lock when we set UnsafeCell<T>

Callers 1

getMethod · 0.80

Calls 1

as_refMethod · 0.80

Tested by

no test coverage detected