logo
pub trait Platform {
Show 15 methods fn init(&self); fn external(&self) -> Box<dyn ExternalSystem + 'static, Global>; fn keyboard(&self) -> Box<dyn KeyboardSystem + 'static, Global>; fn motion(&self) -> Box<dyn MotionSystem + 'static, Global>; fn mouse(&self) -> Box<dyn MouseSystem + 'static, Global>; fn pointer(&self) -> Box<dyn PointerSystem + 'static, Global>; fn renderer(&self) -> Box<dyn RendererSystem + 'static, Global>; fn stage(&self) -> Box<dyn StageSystem + 'static, Global>; fn storage(&self) -> Box<dyn StorageSystem + 'static, Global>; fn touch(&self) -> Box<dyn TouchSystem + 'static, Global>; fn web(&self) -> Box<dyn WebSystem + 'static, Global>; fn load_asset_pack(
        &self,
        manifest: Manifest
    ) -> Promise<Box<dyn AssetPack + 'static, Global>>; fn wamp_client(&self) -> Option<WampClient>; fn locale(&self) -> Option<String>; fn time(&self) -> f32;
}

Required Methods

Implementors