Trait cocoa_foundation::foundation::NSProcessInfo

source ·
pub trait NSProcessInfo: Sized {
    // Required methods
    unsafe fn systemUptime(self) -> NSTimeInterval;
    unsafe fn processName(self) -> id;
    unsafe fn operatingSystemVersion(self) -> NSOperatingSystemVersion;
    unsafe fn isOperatingSystemAtLeastVersion(
        self,
        version: NSOperatingSystemVersion,
    ) -> bool;

    // Provided method
    unsafe fn processInfo(_: Self) -> id { ... }
}

Required Methods§

Provided Methods§

source

unsafe fn processInfo(_: Self) -> id

Object Safety§

This trait is not object safe.

Implementors§