use crate::{
Def, Facet, Shape, ShapeBuilder, ShapeLayout, Type, UserType, VTableDirect, vtable_direct,
};
unsafe impl Facet<'_> for ShapeLayout {
const SHAPE: &'static Shape = &const {
const VTABLE: VTableDirect = vtable_direct!(ShapeLayout =>
Debug,
Hash,
);
ShapeBuilder::for_sized::<ShapeLayout>("ShapeLayout")
.ty(Type::User(UserType::Opaque))
.def(Def::Scalar)
.vtable_direct(&VTABLE)
.copy()
.send()
.sync()
.build()
};
}