Trait webxr_api::mock::MockDiscoveryAPI

source ·
pub trait MockDiscoveryAPI<GL>: 'static {
    // Required method
    fn simulate_device_connection(
        &mut self,
        init: MockDeviceInit,
        receiver: Receiver<MockDeviceMsg>,
    ) -> Result<Box<dyn DiscoveryAPI<GL>>, Error>;
}
Expand description

A trait for discovering mock XR devices

Required Methods§

Implementors§