pub struct GroupingUnit {
pub key: [u8; 16],
}Expand description
A unit as seen by grouping: only its stable key matters here.
The key is used for deterministic tie-breaking and ordering. It is the unit’s content fingerprint bytes; grouping never interprets it beyond ordering.
Fields§
§key: [u8; 16]Stable, position-free key (a content fingerprint’s bytes).
Trait Implementations§
Source§impl Clone for GroupingUnit
impl Clone for GroupingUnit
Source§fn clone(&self) -> GroupingUnit
fn clone(&self) -> GroupingUnit
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 GroupingUnit
Source§impl Debug for GroupingUnit
impl Debug for GroupingUnit
impl Eq for GroupingUnit
Source§impl PartialEq for GroupingUnit
impl PartialEq for GroupingUnit
impl StructuralPartialEq for GroupingUnit
Auto Trait Implementations§
impl Freeze for GroupingUnit
impl RefUnwindSafe for GroupingUnit
impl Send for GroupingUnit
impl Sync for GroupingUnit
impl Unpin for GroupingUnit
impl UnsafeUnpin for GroupingUnit
impl UnwindSafe for GroupingUnit
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.