[][src]Struct web_sys::XrInputSource

#[repr(transparent)]pub struct XrInputSource { /* fields omitted */ }

The XrInputSource class.

MDN Documentation

This API requires the following crate features to be activated: XrInputSource

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

Methods

impl XrInputSource[src]

pub fn handedness(&self) -> XrHandedness[src]

Getter for the handedness field of this object.

MDN Documentation

This API requires the following crate features to be activated: XrHandedness, XrInputSource

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl XrInputSource[src]

pub fn target_ray_mode(&self) -> XrTargetRayMode[src]

Getter for the targetRayMode field of this object.

MDN Documentation

This API requires the following crate features to be activated: XrInputSource, XrTargetRayMode

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl XrInputSource[src]

pub fn target_ray_space(&self) -> XrSpace[src]

Getter for the targetRaySpace field of this object.

MDN Documentation

This API requires the following crate features to be activated: XrInputSource, XrSpace

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl XrInputSource[src]

pub fn grip_space(&self) -> Option<XrSpace>[src]

Getter for the gripSpace field of this object.

MDN Documentation

This API requires the following crate features to be activated: XrInputSource, XrSpace

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl XrInputSource[src]

pub fn profiles(&self) -> Array[src]

Getter for the profiles field of this object.

MDN Documentation

This API requires the following crate features to be activated: XrInputSource

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

Trait Implementations

impl AsRef<JsValue> for XrInputSource[src]

impl AsRef<Object> for XrInputSource[src]

impl AsRef<XrInputSource> for XrInputSource[src]

impl Clone for XrInputSource[src]

impl Debug for XrInputSource[src]

impl Deref for XrInputSource[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for XrInputSource[src]

impl From<JsValue> for XrInputSource[src]

impl From<XrInputSource> for JsValue[src]

impl From<XrInputSource> for Object[src]

impl FromWasmAbi for XrInputSource[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for XrInputSource[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a XrInputSource[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for XrInputSource[src]

impl OptionFromWasmAbi for XrInputSource[src]

impl OptionIntoWasmAbi for XrInputSource[src]

impl<'a> OptionIntoWasmAbi for &'a XrInputSource[src]

impl PartialEq<XrInputSource> for XrInputSource[src]

impl RefFromWasmAbi for XrInputSource[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<XrInputSource>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl StructuralEq for XrInputSource[src]

impl StructuralPartialEq for XrInputSource[src]

impl WasmDescribe for XrInputSource[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.