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