pub struct EdgeKey { /* private fields */ }Expand description
An undirected edge, canonically ordered so both sides collide.
Construction is the only place ordering is decided, which is what stops
two call sites from disagreeing about whether (3, 1) and (1, 3) are
the same edge.
Implementations§
Trait Implementations§
Source§impl Ord for EdgeKey
impl Ord for EdgeKey
Source§impl PartialOrd for EdgeKey
impl PartialOrd for EdgeKey
impl Copy for EdgeKey
impl Eq for EdgeKey
impl StructuralPartialEq for EdgeKey
Auto Trait Implementations§
impl Freeze for EdgeKey
impl RefUnwindSafe for EdgeKey
impl Send for EdgeKey
impl Sync for EdgeKey
impl Unpin for EdgeKey
impl UnwindSafe for EdgeKey
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