pub enum ElementId<Graph>where
Graph: Graph,{
Vertex(Graph::VertexId),
Edge(Graph::EdgeId),
}
Expand description
An identifier for a vertex or an edge in a graph.
Variants§
Trait Implementations§
impl<Graph> Copy for ElementId<Graph>where
Graph: Graph,
impl<Graph> Eq for ElementId<Graph>where
Graph: Graph,
Auto Trait Implementations§
impl<Graph> Freeze for ElementId<Graph>
impl<Graph> RefUnwindSafe for ElementId<Graph>
impl<Graph> Send for ElementId<Graph>
impl<Graph> Sync for ElementId<Graph>
impl<Graph> Unpin for ElementId<Graph>
impl<Graph> UnwindSafe for ElementId<Graph>
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