pub trait LayoutRaw {
// Required method
fn layout_raw(value: *const Self) -> Layout;
}
Expand description
Gets the layout of a type from its pointer.
Required Methods§
Sourcefn layout_raw(value: *const Self) -> Layout
fn layout_raw(value: *const Self) -> Layout
Gets the layout of the type.
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.