Trait rkyv::validation::LayoutRaw
source · pub trait LayoutRawwhere
Self: Pointee,{
// Required method
fn layout_raw(
metadata: <Self as Pointee>::Metadata
) -> Result<Layout, LayoutError>;
}
Expand description
Gets the layout of a type from its pointee type and metadata.
Required Methods§
sourcefn layout_raw(
metadata: <Self as Pointee>::Metadata
) -> Result<Layout, LayoutError>
fn layout_raw( metadata: <Self as Pointee>::Metadata ) -> Result<Layout, LayoutError>
Gets the layout of the type.