Trait rust_webvr::vr_service::VRService [] [src]

pub trait VRService: Send {
    fn initialize(&mut self) -> Result<(), String>;
    fn fetch_displays(&mut self) -> Result<Vec<VRDisplayPtr>, String>;
    fn fetch_gamepads(&mut self) -> Result<Vec<VRGamepadPtr>, String>;
    fn is_available(&self) -> bool;
    fn poll_events(&self) -> Vec<VREvent>;
}

Required Methods

Implementors