aligned_buffer/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod raw;
mod shared;
mod unique;

pub mod alloc;
pub mod cap;

#[cfg(feature = "bytes")]
mod bytes;

#[cfg(feature = "rkyv")]
pub mod rkyv;

/// The default alignment for buffers.
pub const DEFAULT_BUFFER_ALIGNMENT: usize = 64;

pub use shared::SharedAlignedBuffer;
pub use unique::{TryReserveError, UniqueAlignedBuffer};