pub struct NodeIDComparatorReverse {}Expand description
NodeComparator implementation that uses the stable NodeID. Reverses the order. For testing purpopses.
Trait Implementations§
Source§impl NodeComparator for NodeIDComparatorReverse
impl NodeComparator for NodeIDComparatorReverse
fn compare( graph: &InMemoryGraph<Self>, l: Revision, r: Revision, ) -> Result<Ordering, GraphReadError>
Auto Trait Implementations§
impl Freeze for NodeIDComparatorReverse
impl RefUnwindSafe for NodeIDComparatorReverse
impl Send for NodeIDComparatorReverse
impl Sync for NodeIDComparatorReverse
impl Unpin for NodeIDComparatorReverse
impl UnsafeUnpin for NodeIDComparatorReverse
impl UnwindSafe for NodeIDComparatorReverse
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