[−][src]Function skellige::prelude::sys::platform
pub fn platform() -> Platform
Detect at runtime the type of operating system we are running.
Examples
use fungus::prelude::*; assert_eq!(sys::platform(), sys::Platform::Linux);