Module buffer

Source
Expand description

Buffer definition and simple implementations.

Structs§

ArrayBuffer
A simple array buffer.
BufferSlice
Buffer slice returned by Queue::try_dequeue (see Buffer::Slice).
OwnedBufferIter
Buffer iterator returned by BufferSlice::into_iter (see Drain).
ValueIter
Wrapper to implement InsertIntoBuffer on iterators.
VecBufferalloc
A simple vector buffer.

Traits§

Buffer
Queue buffer. It is used together with InsertIntoBuffer.
Drain
Buffer whose values can be drained from.
InsertIntoBuffer
Buffer value.
IntoValueIter
Extension trait to instantiate ValueIter.
Resize
Resizable Buffer.

Type Aliases§

BufferIter
Alias of OwnedBufferIter with a queue reference.