Trait vtable::VTableMeta [−][src]
Expand description
Internal trait that is implemented by the #[vtable] macro.
Safety: The Target object needs to be implemented correctly.
And there should be a VTable::VTable::new
Associated Types
That’s the trait object that implements the functions
NOTE: the size must be 2*size_of::<usize>
and a repr(C) with (vtable, ptr) so it has the same layout as
the inner and VBox/VRef/VRefMut