pub unsafe trait NSProcessInfoNSDeviceCertification:
ClassType
+ Sized
+ Sealed {
// Provided methods
fn isDeviceCertifiedFor(
&self,
performance_tier: NSDeviceCertification,
) -> bool { ... }
fn hasPerformanceProfile(
&self,
performance_profile: NSProcessPerformanceProfile,
) -> bool { ... }
}Available on crate feature
MTLDeviceCertification only.Expand description
Category “NSDeviceCertification” on NSProcessInfo.
Provided Methods§
fn isDeviceCertifiedFor(&self, performance_tier: NSDeviceCertification) -> bool
fn hasPerformanceProfile( &self, performance_profile: NSProcessPerformanceProfile, ) -> bool
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.