pub struct EntityGraph<Node>where
Node: EntityRef,{ /* private fields */ }Expand description
A graph of EntityRef nodes reified into a densely packed representation.
Implementations§
Trait Implementations§
Source§impl<Node> Debug for EntityGraph<Node>
impl<Node> Debug for EntityGraph<Node>
Source§impl<Node> Graph<Node> for EntityGraph<Node>where
Node: EntityRef,
impl<Node> Graph<Node> for EntityGraph<Node>where
Node: EntityRef,
Source§type SuccessorsIter<'a> = Copied<Iter<'a, Node>>
where
Self: 'a
type SuccessorsIter<'a> = Copied<Iter<'a, Node>> where Self: 'a
The iterator type returned by
Successors::successors.Source§fn successors(&self, node: Node) -> Self::SuccessorsIter<'_>
fn successors(&self, node: Node) -> Self::SuccessorsIter<'_>
Iterate over the successors of the given
node.Source§fn filter_nodes<F>(self, predicate: F) -> FilterNodes<Self, F>
fn filter_nodes<F>(self, predicate: F) -> FilterNodes<Self, F>
Use the given predicate to filter out certain nodes from the graph.
Auto Trait Implementations§
impl<Node> Freeze for EntityGraph<Node>
impl<Node> RefUnwindSafe for EntityGraph<Node>where
Node: RefUnwindSafe,
impl<Node> Send for EntityGraph<Node>where
Node: Send,
impl<Node> Sync for EntityGraph<Node>where
Node: Sync,
impl<Node> Unpin for EntityGraph<Node>where
Node: Unpin,
impl<Node> UnwindSafe for EntityGraph<Node>where
Node: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more