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 modules:

  • run_on_demand (available on windows, unix, macos, android)
  • pump_events (available on windows, unix, macos, android)

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

Modules§

  • modifier_supplement(windows_platform or macos_platform or x11_platform or wayland_platform or orbital_platform or docsrs) and (windows_platform or macos_platform or x11_platform or wayland_platform)
  • pump_eventswindows_platform or macos_platform or android_platform or x11_platform or wayland_platform
  • run_on_demandwindows_platform or macos_platform or android_platform or x11_platform or wayland_platform
  • scancodewindows_platform or macos_platform or x11_platform or wayland_platform
  • startup_notifyx11_platform or wayland_platform
    Window startup notification to handle window raising.
  • waylandwayland_platform
  • x11x11_platform