Trait rkyv::validation::LayoutMetadata[][src]

pub trait LayoutMetadata<T: ?Sized> {
    fn layout(self) -> Layout;
}

Gets the layout of a type from its metadata.

Required methods

fn layout(self) -> Layout[src]

Gets the layout of the type.

Loading content...

Implementations on Foreign Types

impl<T> LayoutMetadata<T> for ()[src]

impl<T> LayoutMetadata<[T]> for usize[src]

impl LayoutMetadata<str> for usize[src]

impl<T: ?Sized> LayoutMetadata<T> for DynMetadata<T>[src]

Loading content...

Implementors

Loading content...