Lines Matching refs:Node
10 pub struct EntityGraph<Node>
12 Node: EntityRef,
16 edges: SecondaryMap<Node, Range<u32>>,
19 edge_elems: Vec<Node>,
22 impl<Node> Debug for EntityGraph<Node>
24 Node: EntityRef + Debug,
27 struct Edges<'a, Node: EntityRef + Debug>(&'a EntityGraph<Node>); in fmt()
29 impl<'a, Node: EntityRef + Debug> Debug for Edges<'a, Node> { in fmt()
47 impl<Node> EntityGraph<Node>
49 Node: EntityRef + Debug,
53 nodes: impl IntoIterator<Item = Node>, in new()
54 mut successors: impl FnMut(Node, &mut Vec<Node>) -> Result<(), E>, in new() argument
77 impl<Node> Graph<Node> for EntityGraph<Node>
79 Node: EntityRef,
82 = cranelift_entity::Keys<Node>
92 = iter::Copied<core::slice::Iter<'a, Node>>
96 fn successors(&self, node: Node) -> Self::SuccessorsIter<'_> { in successors()