pub struct EnumeratedFiniteSetStructure { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for EnumeratedFiniteSetStructure
impl Clone for EnumeratedFiniteSetStructure
Source§fn clone(&self) -> EnumeratedFiniteSetStructure
fn clone(&self) -> EnumeratedFiniteSetStructure
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 EnumeratedFiniteSetStructure
impl Debug for EnumeratedFiniteSetStructure
Source§impl OrdSignature for EnumeratedFiniteSetStructure
impl OrdSignature for EnumeratedFiniteSetStructure
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 EnumeratedFiniteSetStructure
impl PartialEq for EnumeratedFiniteSetStructure
Source§fn eq(&self, other: &EnumeratedFiniteSetStructure) -> bool
fn eq(&self, other: &EnumeratedFiniteSetStructure) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for EnumeratedFiniteSetStructure
impl Signature for EnumeratedFiniteSetStructure
impl StructuralPartialEq for EnumeratedFiniteSetStructure
Auto Trait Implementations§
impl Freeze for EnumeratedFiniteSetStructure
impl RefUnwindSafe for EnumeratedFiniteSetStructure
impl Send for EnumeratedFiniteSetStructure
impl Sync for EnumeratedFiniteSetStructure
impl Unpin for EnumeratedFiniteSetStructure
impl UnwindSafe for EnumeratedFiniteSetStructure
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