pub(crate) trait UpgradeInto<U>: Sized {
// Required method
fn upgrade_into(self) -> U;
}
Expand description
A copy of std::convert::Into
so we can work around Rust’s orphan rules.
Required Methods§
fn upgrade_into(self) -> U
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.