pub trait Alignment:
Sealed
+ Debug
+ Default
+ Copy
+ Send
+ Sync
+ Unpin
+ 'static {
const ALIGN: usize;
}Expand description
Alignment in bytes, a power of two from 1 to 4096.
Used as a type parameter of buffers for the alignment of their contents, and as a value for the alignment of allocations.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".