pub struct PathWithOccurences<N: PartialEq, O: PartialOrd>(pub(crate) N, pub(crate) O);
Expand description
A pair orderable by the second item.
Tuple Fields§
§0: N
§1: O
Trait Implementations§
source§impl<N: Debug + PartialEq, O: Debug + PartialOrd> Debug for PathWithOccurences<N, O>
impl<N: Debug + PartialEq, O: Debug + PartialOrd> Debug for PathWithOccurences<N, O>
source§impl<N: Eq, O: Ord> Ord for PathWithOccurences<N, O>
impl<N: Eq, O: Ord> Ord for PathWithOccurences<N, O>
source§impl<N: PartialEq + PartialEq, O: PartialEq + PartialOrd> PartialEq for PathWithOccurences<N, O>
impl<N: PartialEq + PartialEq, O: PartialEq + PartialOrd> PartialEq for PathWithOccurences<N, O>
source§fn eq(&self, other: &PathWithOccurences<N, O>) -> bool
fn eq(&self, other: &PathWithOccurences<N, O>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<N: PartialEq, O: PartialOrd> PartialOrd for PathWithOccurences<N, O>
impl<N: PartialEq, O: PartialOrd> PartialOrd for PathWithOccurences<N, O>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<N: Eq + PartialEq, O: Eq + PartialOrd> Eq for PathWithOccurences<N, O>
impl<N: PartialEq, O: PartialOrd> StructuralEq for PathWithOccurences<N, O>
impl<N: PartialEq, O: PartialOrd> StructuralPartialEq for PathWithOccurences<N, O>
Auto Trait Implementations§
impl<N, O> RefUnwindSafe for PathWithOccurences<N, O>where N: RefUnwindSafe, O: RefUnwindSafe,
impl<N, O> Send for PathWithOccurences<N, O>where N: Send, O: Send,
impl<N, O> Sync for PathWithOccurences<N, O>where N: Sync, O: Sync,
impl<N, O> Unpin for PathWithOccurences<N, O>where N: Unpin, O: Unpin,
impl<N, O> UnwindSafe for PathWithOccurences<N, O>where N: UnwindSafe, O: 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
§impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
impl<T, U> CastableInto<U> for Twhere U: CastableFrom<T>,
§impl<T> DowncastableFrom<T> for T
impl<T> DowncastableFrom<T> for T
§fn downcast_from(value: T) -> T
fn downcast_from(value: T) -> T
Truncate the current UnsignedInt to a possibly smaller size
§impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
impl<T, U> DowncastableInto<U> for Twhere U: DowncastableFrom<T>,
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere T: ?Sized,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> UpcastableFrom<T> for T
impl<T> UpcastableFrom<T> for T
§fn upcast_from(value: T) -> T
fn upcast_from(value: T) -> T
Extend the current UnsignedInt to a possibly bigger size.