C++ API to put a model in the interpreter::Value

This commit is contained in:
Olivier Goffart 2021-03-18 12:13:40 +01:00
parent 02c1150fa7
commit 3335ff8da5
4 changed files with 189 additions and 3 deletions

View file

@ -152,7 +152,7 @@ impl Inner {
///
/// The VBox implements Deref so one can access all the members of the vtable.
///
/// This is only valid if the VTable has a `drop` type (so that the `#[vtable]` macro
/// This is only valid if the VTable has a `drop` function (so that the `#[vtable]` macro
/// implements the `VTableMetaDrop` trait for it)
#[repr(transparent)]
pub struct VBox<T: ?Sized + VTableMetaDrop> {