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. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
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. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||