[][src]Struct web_sys::XrView

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

The XrView class.

MDN Documentation

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

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

Implementations

impl XrView[src]

pub fn eye(&self) -> XrEye[src]

Getter for the eye field of this object.

MDN Documentation

This API requires the following crate features to be activated: XrEye, XrView

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

impl XrView[src]

pub fn projection_matrix(&self) -> Vec<f32>[src]

Getter for the projectionMatrix field of this object.

MDN Documentation

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

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

impl XrView[src]

pub fn transform(&self) -> XrRigidTransform[src]

Getter for the transform field of this object.

MDN Documentation

This API requires the following crate features to be activated: XrRigidTransform, XrView

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 XrView[src]

impl AsRef<Object> for XrView[src]

impl AsRef<XrView> for XrView[src]

impl Clone for XrView[src]

impl Debug for XrView[src]

impl Deref for XrView[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for XrView[src]

impl From<JsValue> for XrView[src]

impl From<XrView> for JsValue[src]

impl From<XrView> for Object[src]

impl FromWasmAbi for XrView[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 XrView[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 XrView[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 XrView[src]

impl OptionFromWasmAbi for XrView[src]

impl OptionIntoWasmAbi for XrView[src]

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

impl PartialEq<XrView> for XrView[src]

impl RefFromWasmAbi for XrView[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<XrView>

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 XrView[src]

impl StructuralPartialEq for XrView[src]

impl WasmDescribe for XrView[src]

Auto Trait Implementations

impl RefUnwindSafe for XrView

impl !Send for XrView

impl !Sync for XrView

impl Unpin for XrView

impl UnwindSafe for XrView

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.