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

Method deref

flow-rs/src/helper/python.rs:29–31  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

27{
28 type Target = [T];
29 fn deref(&self) -> &Self::Target {
30 self.slice
31 }
32}
33
34pub fn uget_slice<'a, T: Element>(py: Python, pyobject: &PyAny) -> PyResult<SliceGuard<'a, T>> {

Callers 1

newMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected