pub(super) struct SortColumns<'a> {
lower_pool: &'a [u8],
name_off: &'a [u32],
name_len: &'a [u16],
size_lo: &'a [u32],
size_ovf: &'a FxHashMap<EntryId, u64>,
mtime: &'a [i64],
}Expand description
Borrowed view of the sort-key columns, so permutation maintenance can
hold &mut permutation arrays while comparing through the one
definition of each key’s order (a drifting duplicate of cmp_by would
silently corrupt the merge).
Fields§
§lower_pool: &'a [u8]§name_off: &'a [u32]§name_len: &'a [u16]§size_lo: &'a [u32]§size_ovf: &'a FxHashMap<EntryId, u64>§mtime: &'a [i64]Implementations§
Source§impl<'a> SortColumns<'a>
impl<'a> SortColumns<'a>
Auto Trait Implementations§
impl<'a> Freeze for SortColumns<'a>
impl<'a> RefUnwindSafe for SortColumns<'a>
impl<'a> Send for SortColumns<'a>
impl<'a> Sync for SortColumns<'a>
impl<'a> Unpin for SortColumns<'a>
impl<'a> UnsafeUnpin for SortColumns<'a>
impl<'a> UnwindSafe for SortColumns<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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