![]() I use unsafe code to transmute an AnyViewHandle to a ViewHandle<T> when the type matches. Because ViewHandle<T> is repr(transparent) to the wrapped AnyViewHandle, this is safe. |
||
---|---|---|
.. | ||
languages | ||
languages.rs | ||
main.rs | ||
menus.rs | ||
test.rs | ||
zed.rs |
![]() I use unsafe code to transmute an AnyViewHandle to a ViewHandle<T> when the type matches. Because ViewHandle<T> is repr(transparent) to the wrapped AnyViewHandle, this is safe. |
||
---|---|---|
.. | ||
languages | ||
languages.rs | ||
main.rs | ||
menus.rs | ||
test.rs | ||
zed.rs |