AsPlatform

Trait AsPlatform 

Source
pub trait AsPlatform: Sized {
    type PlatformType;

    // Required method
    fn as_platform(&self) -> Self::PlatformType;
}

Required Associated Types§

Required Methods§

Source

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.

Implementors§