Struct webxr::headless::HeadlessDiscovery
source · struct HeadlessDiscovery {
data: Arc<Mutex<HeadlessDeviceData>>,
supports_vr: bool,
supports_inline: bool,
supports_ar: bool,
}
Fields§
§data: Arc<Mutex<HeadlessDeviceData>>
§supports_vr: bool
§supports_inline: bool
§supports_ar: bool
Trait Implementations§
source§impl DiscoveryAPI<SurfmanGL> for HeadlessDiscovery
impl DiscoveryAPI<SurfmanGL> for HeadlessDiscovery
fn request_session( &mut self, mode: SessionMode, init: &SessionInit, xr: SessionBuilder<'_, SurfmanGL>, ) -> Result<Session, Error>
fn supports_session(&self, mode: SessionMode) -> bool
Auto Trait Implementations§
impl Freeze for HeadlessDiscovery
impl RefUnwindSafe for HeadlessDiscovery
impl Send for HeadlessDiscovery
impl Sync for HeadlessDiscovery
impl Unpin for HeadlessDiscovery
impl UnwindSafe for HeadlessDiscovery
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more