mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41:14 +00:00
C++ API to put a model in the interpreter::Value
This commit is contained in:
parent
02c1150fa7
commit
3335ff8da5
4 changed files with 189 additions and 3 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue