pub trait Surrogated {
type Surrogate: Surrogate<Real = Self>;
// Required method
fn into_surrogate(self) -> Self::Surrogate;
}Required Associated Types§
Required Methods§
fn into_surrogate(self) -> Self::Surrogate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".