pub enum EquivalenceKind {
None,
Minimal,
Complete,
Both,
}Expand description
Equivalence-Kind des Elements einer PlainCollection (§7.3.4.7.1).
EK_MINIMAL = TI ist strongly-hashed Minimal, EK_COMPLETE = Complete,
EK_BOTH = identisch fuer beide, None = element ist selbst primitive
oder plain (kein strong-hash).
Variants§
None
Element ist ein Primitive oder anderes plain — kein Hash.
Minimal
Element-TypeIdentifier ist EK_MINIMAL.
Complete
Element-TypeIdentifier ist EK_COMPLETE.
Both
Minimal + Complete sind gleich (z.B. bei vollstaendig primitiven Types).
Implementations§
Trait Implementations§
Source§impl Clone for EquivalenceKind
impl Clone for EquivalenceKind
Source§fn clone(&self) -> EquivalenceKind
fn clone(&self) -> EquivalenceKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EquivalenceKind
impl Debug for EquivalenceKind
Source§impl PartialEq for EquivalenceKind
impl PartialEq for EquivalenceKind
Source§fn eq(&self, other: &EquivalenceKind) -> bool
fn eq(&self, other: &EquivalenceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EquivalenceKind
impl Eq for EquivalenceKind
impl StructuralPartialEq for EquivalenceKind
Auto Trait Implementations§
impl Freeze for EquivalenceKind
impl RefUnwindSafe for EquivalenceKind
impl Send for EquivalenceKind
impl Sync for EquivalenceKind
impl Unpin for EquivalenceKind
impl UnsafeUnpin for EquivalenceKind
impl UnwindSafe for EquivalenceKind
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