slint/helper_crates/vtable
Simon Hausmann 52aae34f94 Fix Deref for VRc<VTable, Dyn>
As outlined in commit 753ec83a05,
converting from a VRc<VT, X> to VRc<VT, Dyn> requires subsequent use of
the data_offset in order to determine the correct instance pointer.

This applies also to VRc's Deref implementation, which isn't used with
Dyn right now, but will be soon in order to determine the bare instance
address for item tree traversal.
2020-11-19 16:24:12 +01:00
..
macro Add a function in the ComponentVTable to get an ItemRef from an index 2020-11-11 14:29:44 +01:00
src Fix Deref for VRc<VTable, Dyn> 2020-11-19 16:24:12 +01:00
tests Add a function in the ComponentVTable to get an ItemRef from an index 2020-11-11 14:29:44 +01:00
Cargo.toml vtable: new VRc and VWeak pointer 2020-11-06 10:11:44 +01:00