pub unsafe trait TypeGraph: TypeLayout {
    fn populate_graph(graph: &mut TypeLayoutGraph<'static>);
}
Expand description

Safety

It is only safe to implement this trait if it accurately populates the type’s layout graph. Use #[derive(TypeLayout)] instead.

Required Methods§

Implementations on Foreign Types§

Implementors§