MCPcopy Create free account
hub / github.com/BillyDM/Firewheel / nodes

Method nodes

crates/firewheel-graph/src/context.rs:1042–1044  ·  view source on GitHub ↗

Get a list of all the existing nodes in the graph.

(&self)

Source from the content-addressed store, hash-verified

1040 /// Get a type-erased, mutable reference to the custom state of a node.
1041 ///
1042 /// If the node does not exist in the graph, then `None` will be returned.
1043 pub fn node_state_dyn_mut(&mut self, id: NodeID) -> Option<&mut dyn Any> {
1044 self.graph.node_state_dyn_mut(id)
1045 }
1046
1047 /// Get a list of all the existing nodes in the graph.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected