pub struct SortBuffers { /* private fields */ }Expand description
Struct containing all buffers necessary for sorting. The key and value buffers can be read and written.
Implementations§
Source§impl SortBuffers
impl SortBuffers
Sourcepub fn keys(&self) -> &Buffer
pub fn keys(&self) -> &Buffer
Buffer storing the keys values.
WARNING: this buffer has padding bytes at the end use SortBuffers::keys_valid_size to get the valid size.
Sourcepub fn keys_valid_size(&self) -> u64
pub fn keys_valid_size(&self) -> u64
The keys buffer has padding bytes. This function returns the number of bytes without padding
Sourcepub fn state_buffer(&self) -> &Buffer
pub fn state_buffer(&self) -> &Buffer
Buffer containing a SorterState
Auto Trait Implementations§
impl !Freeze for SortBuffers
impl !RefUnwindSafe for SortBuffers
impl Send for SortBuffers
impl Sync for SortBuffers
impl Unpin for SortBuffers
impl !UnwindSafe for SortBuffers
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