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§
fn is_compatible_with_regular_platform( &self, _platform: &RegularPlatform, ) -> bool
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".