pub fn platform() -> Platform
Detects and returns the Platform the application is running on, caching the result on first call.
Platform