Function os_type::current_platform [] [src]

pub fn current_platform() -> OSType

Returns the current operating system type

Example

use os_type;
let os = os_type::current_platform();