Trait ext_sort::buffer::ChunkBuffer[][src]

pub trait ChunkBuffer<T: Send>: IntoIterator<Item = T> + ParallelSliceMut<T> + Send {
    fn push(&mut self, item: T);
fn len(&self) -> usize;
fn is_full(&self) -> bool; }
Expand description

Base limited buffer interface.

Required methods

Adds a new element to the buffer.

Returns buffer length

Checks if the buffer reached the limit.

Implementors