pub type FixedUndirectedEdgeHandle = FixedHandleImpl<UndirectedEdgeTag, InnerTag>;
Expand description
Fixed handle to an undirected edge.
See also the handles module.
Aliased Type§
struct FixedUndirectedEdgeHandle { /* private fields */ }
Implementations§
Source§impl FixedUndirectedEdgeHandle
impl FixedUndirectedEdgeHandle
Sourcepub fn as_directed(&self) -> FixedDirectedEdgeHandle
pub fn as_directed(&self) -> FixedDirectedEdgeHandle
Converts this directed edge into an undirected edge handle.
Any of the two directed edges may be returned.
Sourcepub fn directed_edges(&self) -> [FixedDirectedEdgeHandle; 2]
pub fn directed_edges(&self) -> [FixedDirectedEdgeHandle; 2]
Returns the two directed edges of this undirected edge in any order.