Crate aligned_buffer_internals

Source
Expand description

§aligned_buffer_internals

This crate is the “body” of the aligned_buffer crate, but must exist seperately to prevent cyclical dependencies with aligned_buffer_macro.

For the main crate, please view the documentation for aligned_buffer here.

Traits§

AlignedBuffer
A buffer of SIZE bytes that is aligned to ALIGN bytes.

Functions§

assert_layout
This function asserts that the layout of T is SIZE bytes and aligned to ALIGN bytes.