Trait aligned_vec::Alignment
source · 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§
Object Safety§
This trait is not object safe.