Trait MinimallyAligned

Source
pub unsafe trait MinimallyAligned: Sized { }
Expand description

Asserts that the type has a minimal ABI alignment of 1

§Safety

Implementor need to verify that std::mem::align_of::<Self>() == 1

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.

Implementors§