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

Method first

flow-rs/src/graph/node.rs:33–35  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

31
32 #[allow(dead_code)]
33 pub fn first(&self) -> &dyn Actor {
34 self.nodes.first().map(|n| n.as_ref()).unwrap()
35 }
36
37 #[allow(dead_code)]
38 pub fn get(&self) -> &Vec<Box<dyn Actor>> {

Callers 3

attrFunction · 0.80
load_staticFunction · 0.80
newMethod · 0.80

Calls 1

as_refMethod · 0.80

Tested by

no test coverage detected