pub struct UnorderedPairs<Set> { /* private fields */ }Expand description
The set of unordered Pairs of distinct elements
Implementations§
Source§impl<Set: SetSignature> UnorderedPairs<Set>
impl<Set: SetSignature> UnorderedPairs<Set>
Source§impl<S: SetSignature + EqSignature> UnorderedPairs<S>
impl<S: SetSignature + EqSignature> UnorderedPairs<S>
Trait Implementations§
Source§impl<Set: Clone> Clone for UnorderedPairs<Set>
impl<Set: Clone> Clone for UnorderedPairs<Set>
Source§fn clone(&self) -> UnorderedPairs<Set>
fn clone(&self) -> UnorderedPairs<Set>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Set: Debug> Debug for UnorderedPairs<Set>
impl<Set: Debug> Debug for UnorderedPairs<Set>
Source§impl<S: SetSignature + EqSignature> EqSignature for UnorderedPairs<S>
impl<S: SetSignature + EqSignature> EqSignature for UnorderedPairs<S>
Source§impl<Set: PartialEq> PartialEq for UnorderedPairs<Set>
impl<Set: PartialEq> PartialEq for UnorderedPairs<Set>
Source§impl<S: SetSignature + EqSignature> SetSignature for UnorderedPairs<S>
impl<S: SetSignature + EqSignature> SetSignature for UnorderedPairs<S>
type Set = UnorderedPair<<S as SetSignature>::Set>
impl<Set: Eq> Eq for UnorderedPairs<Set>
impl<S: SetSignature> Signature for UnorderedPairs<S>
impl<Set> StructuralPartialEq for UnorderedPairs<Set>
Auto Trait Implementations§
impl<Set> Freeze for UnorderedPairs<Set>where
Set: Freeze,
impl<Set> RefUnwindSafe for UnorderedPairs<Set>where
Set: RefUnwindSafe,
impl<Set> Send for UnorderedPairs<Set>where
Set: Send,
impl<Set> Sync for UnorderedPairs<Set>where
Set: Sync,
impl<Set> Unpin for UnorderedPairs<Set>where
Set: Unpin,
impl<Set> UnwindSafe for UnorderedPairs<Set>where
Set: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more