Skip to main content

use_platform

Function use_platform 

Source
pub fn use_platform() -> Platform
Expand description

Returns the currently active platform — the real detected one unless overridden via set_platform (e.g. App::platform(Platform::Ios) to preview an iOS theme on desktop).