Skip to main content

DeviceCompatibility

Trait DeviceCompatibility 

Source
pub trait DeviceCompatibility {
    // Provided methods
    fn is_compatible_with_regular_platform(
        &self,
        _platform: &RegularPlatform,
    ) -> bool { ... }
    fn is_compatible_with_host_platform(&self, _platform: &HostPlatform) -> bool { ... }
}

Provided Methods§

Source

fn is_compatible_with_regular_platform( &self, _platform: &RegularPlatform, ) -> bool

Source

fn is_compatible_with_host_platform(&self, _platform: &HostPlatform) -> bool

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§