pub unsafe trait FlatBase: Send + Sync {
const ALIGN: usize;
const MIN_SIZE: usize;
// Required method
fn size(&self) -> usize;
}Expand description
Basic flat type properties.
Required Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".