Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
attr
Function · 0.80
load_static
Function · 0.80
new
Method · 0.80
Calls
1
as_ref
Method · 0.80
Tested by
no test coverage detected