Skip to main content

detect_current_platform

Function detect_current_platform 

Source
pub fn detect_current_platform() -> PlatformKind
Expand description

Detects the compile-time target PlatformKind for the current binary.

ยงReturns

  • PlatformKind - Active platform kind (iPadOS is refined dynamically on iOS via UIDevice).