pub trait AsPlatform: Sized {
type PlatformType;
// Required method
fn as_platform(&self) -> Self::PlatformType;
}Required Associated Types§
type PlatformType
Required Methods§
fn as_platform(&self) -> Self::PlatformType
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.