Module winit::platform

source ·
Expand description

Contains traits with platform-specific methods in them.

Contains the follow OS-specific modules:

  • android
  • ios
  • macos
  • unix
  • windows
  • web

And the following platform-specific module:

  • run_return (available on windows, unix, macos, and android)

However only the module corresponding to the platform you’re compiling to will be available.

Modules

  • run_returnwindows_platform or macos_platform or android_platform or x11_platform or wayland_platform or orbital_platform
  • unixx11_platform or wayland_platform