pub trait Upgrade<Next>where
Self: Sized,{
type Lossiness;
// Required method
fn upgrade(self) -> Translation<Self, Next, Self::Lossiness>;
}Expand description
Required Associated Types§
Required Methods§
Sourcefn upgrade(self) -> Translation<Self, Next, Self::Lossiness>
fn upgrade(self) -> Translation<Self, Next, Self::Lossiness>
Produce a Translation without executing it.
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.