pub trait Alignment: Copy + Seal {
// Required methods
fn new(align: usize, minimum_align: usize) -> Self;
fn alignment(self, minimum_align: usize) -> usize;
}
Expand description
Trait for types that wrap an alignment value.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.