pub struct SingletonSetStructure {}Trait Implementations§
Source§impl Clone for SingletonSetStructure
impl Clone for SingletonSetStructure
Source§fn clone(&self) -> SingletonSetStructure
fn clone(&self) -> SingletonSetStructure
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 Debug for SingletonSetStructure
impl Debug for SingletonSetStructure
Source§impl Default for SingletonSetStructure
impl Default for SingletonSetStructure
Source§fn default() -> SingletonSetStructure
fn default() -> SingletonSetStructure
Returns the “default value” for a type. Read more
Source§impl EqSignature for SingletonSetStructure
impl EqSignature for SingletonSetStructure
Source§impl OrdSignature for SingletonSetStructure
impl OrdSignature for SingletonSetStructure
fn cmp(&self, x: &Self::Set, y: &Self::Set) -> Ordering
fn max(&self, a: &Self::Set, b: &Self::Set) -> Self::Set
fn min(&self, a: &Self::Set, b: &Self::Set) -> Self::Set
fn is_sorted(&self, a: &[impl Borrow<Self::Set>]) -> bool
fn is_sorted_by_key<X>(&self, a: &[X], key: impl Fn(&X) -> &Self::Set) -> bool
fn is_sorted_and_unique(&self, a: &[impl Borrow<Self::Set>]) -> bool
fn is_sorted_and_unique_by_key<X>( &self, a: &[X], key: impl Fn(&X) -> &Self::Set, ) -> bool
fn binary_search( &self, v: &[impl Borrow<Self::Set>], target: &Self::Set, ) -> bool
fn binary_search_by_key<'x, X>( &self, v: &'x [X], target: &Self::Set, key: impl Fn(&X) -> &Self::Set, ) -> Option<&'x X>
fn merge_sorted<'s, S: Borrow<Self::Set> + 's>( &'s self, a: Vec<S>, b: Vec<S>, ) -> impl Iterator<Item = (MergedSource, S)>
fn merge_sorted_by_key<X>( &self, a: Vec<X>, b: Vec<X>, key: impl Fn(&X) -> &Self::Set, ) -> impl Iterator<Item = (MergedSource, X)>
fn sort<S: Borrow<Self::Set>>(&self, a: Vec<S>) -> Vec<S>
fn sort_by_key<X>(&self, a: Vec<X>, key: &impl Fn(&X) -> &Self::Set) -> Vec<X>
fn sort_by_cached_by<X: 'static>(
&self,
a: Vec<X>,
key: impl Fn(&X) -> Self::Set,
) -> Vec<X>where
Self::Set: 'static,
Source§impl PartialEq for SingletonSetStructure
impl PartialEq for SingletonSetStructure
Source§impl SetSignature for SingletonSetStructure
impl SetSignature for SingletonSetStructure
impl Eq for SingletonSetStructure
impl Signature for SingletonSetStructure
impl StructuralPartialEq for SingletonSetStructure
Auto Trait Implementations§
impl Freeze for SingletonSetStructure
impl RefUnwindSafe for SingletonSetStructure
impl Send for SingletonSetStructure
impl Sync for SingletonSetStructure
impl Unpin for SingletonSetStructure
impl UnwindSafe for SingletonSetStructure
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