pub enum TruncationTier {
None,
P64,
P128,
P150_200,
}Expand description
Spec truncation tiers, dropped from the tail in this order.
Variants§
None
Drop nothing.
P64
Drop priority 64 (scores, context).
P128
Also drop priority 128 (architecture).
P150_200
Also drop priorities 150–200.
Trait Implementations§
Source§impl Clone for TruncationTier
impl Clone for TruncationTier
Source§fn clone(&self) -> TruncationTier
fn clone(&self) -> TruncationTier
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 moreimpl Copy for TruncationTier
Source§impl Debug for TruncationTier
impl Debug for TruncationTier
impl Eq for TruncationTier
Source§impl Ord for TruncationTier
impl Ord for TruncationTier
Source§fn cmp(&self, other: &TruncationTier) -> Ordering
fn cmp(&self, other: &TruncationTier) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TruncationTier
impl PartialEq for TruncationTier
Source§impl PartialOrd for TruncationTier
impl PartialOrd for TruncationTier
impl StructuralPartialEq for TruncationTier
Auto Trait Implementations§
impl Freeze for TruncationTier
impl RefUnwindSafe for TruncationTier
impl Send for TruncationTier
impl Sync for TruncationTier
impl Unpin for TruncationTier
impl UnsafeUnpin for TruncationTier
impl UnwindSafe for TruncationTier
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.