pub trait IsLayout:
Sealed
+ Sized
+ Sync
+ Send
+ Copy
+ Clone
+ Unpin
+ RefUnwindSafe
+ UnwindSafe
+ 'static {
type Size: IsSize;
type Alignment: IsAlignment;
}Expand description
Required Associated Types§
Sourcetype Alignment: IsAlignment
type Alignment: IsAlignment
Alignment requirement of the layout;
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.