NSProcessInfoNSDeviceCertification

Trait NSProcessInfoNSDeviceCertification 

Source
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§

Source

fn isDeviceCertifiedFor(&self, performance_tier: NSDeviceCertification) -> bool

Source

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.

Implementations on Foreign Types§

Source§

impl NSProcessInfoNSDeviceCertification for NSProcessInfo

Implementors§