Module buffer

Module buffer 

Source
Expand description

Generic slice and buffer abstractions used by ArcSlice and ArcSliceMut.

Structs§

AsMutBuffer
A wrapper around buffer implementing AsMut.
AsRefBuffer
A wrapper around buffer implementing AsRef.

Traits§

BorrowMetadata
A trait for borrowing metadata.
Buffer
A buffer that contains a slice.
BufferMut
A buffer that contains a mutable slice.
Concatenable
A slice that can be concatenated.
Deserializableserde
A slice that can be deserialized according to the serde data model
Emptyable
A slice that can be empty.
Extendable
A slice that can be extended with arbitrary items.
RawBufferraw-buffer
A buffer that can be stored into a raw pointer.
Slice
A slice, e.g. [T] or str.
Subsliceable
A slice that can be split into smaller subslices.
Zeroable
A slice that can be safely initialized from an all-zero byte-pattern.