Skip to main content

FromPlatform

Trait FromPlatform 

Source
pub trait FromPlatform<PlatformType> {
    // Required method
    fn from_platform(platform_type: PlatformType) -> Self;
}

Required Methods§

Source

fn from_platform(platform_type: PlatformType) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl FromPlatform<ObjectType> for ObjectType

Source§

impl FromPlatform<Rights> for Rights