Skip to main content

create_native_platform

Function create_native_platform 

Source
pub fn create_native_platform() -> Box<dyn PlatformBackend>
Expand description

Instantiates the native PlatformBackend for the active compile target.

ยงReturns

  • Box<dyn PlatformBackend> - Ready-to-use native OS or web platform backend.