Modules§
Structs§
- A shared buffer with an alignment. This buffer cannot be mutated. Typically, a
SharedAlignedBuffer
is created from aUniqueAlignedBuffer
. It can be cloned and shared across threads. It is effectively the same as an Arc<[u8]>. - A unique (owned) aligned buffer. This can be used to write data to the buffer, before converting it to a
SharedAlignedBuffer
to get cheap clones and sharing of the buffer data. This type is effectively aVec<u8>
with a custom alignment.
Constants§
- The default alignment for buffers.