Struct bern_kernel::stack::Aligned [−][src]
#[repr(C)]pub struct Aligned<A, T> where
T: ?Sized, { /* fields omitted */ }
Expand description
A newtype with alignment of at least A
bytes
Copied from https://docs.rs/aligned/0.3.4/aligned/
Note: The alignment structs are dependent on the memory protection hardware and must thus be implemented in the architecture specific code. e.g.:
#[repr(align(64))] pub struct A64; #[repr(align(1_024))] pub struct A1K;