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 { ... }
}