pub trait AdapterUpcast<T>: QRustProxy {
// Required method
fn upcast(rc: Rc<RefCell<T>>) -> Rc<RefCell<Self::AdapterType>>;
}Expand description
Coerces a concrete user type into the proxy’s type-erased adapter handle.
Implemented once per interface.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.