Trait Alignment

Source
pub trait Alignment:
    SealedAlignment
    + Sized
    + Clone
    + Default
    + Send
    + Sync { }
Expand description

Marker trait used for bounds. All structs that implement this trait have their size and alignment equal.

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§