[][src]Struct web_sys::XrBoundedReferenceSpace

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

The XrBoundedReferenceSpace class.

MDN Documentation

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

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

Methods

impl XrBoundedReferenceSpace[src]

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

Getter for the boundsGeometry field of this object.

MDN Documentation

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

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

Methods from Deref<Target = XrReferenceSpace>

pub fn onreset(&self) -> Option<Function>[src]

Getter for the onreset field of this object.

MDN Documentation

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

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

pub fn set_onreset(&self, value: Option<&Function>)[src]

Setter for the onreset field of this object.

MDN Documentation

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

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

pub fn get_offset_reference_space(
    &self,
    origin_offset: &XrRigidTransform
) -> XrReferenceSpace
[src]

The getOffsetReferenceSpace() method.

MDN Documentation

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

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<EventTarget> for XrBoundedReferenceSpace[src]

impl AsRef<JsValue> for XrBoundedReferenceSpace[src]

impl AsRef<Object> for XrBoundedReferenceSpace[src]

impl AsRef<XrBoundedReferenceSpace> for XrBoundedReferenceSpace[src]

impl AsRef<XrReferenceSpace> for XrBoundedReferenceSpace[src]

impl AsRef<XrSpace> for XrBoundedReferenceSpace[src]

impl Clone for XrBoundedReferenceSpace[src]

impl Debug for XrBoundedReferenceSpace[src]

impl Deref for XrBoundedReferenceSpace[src]

type Target = XrReferenceSpace

The resulting type after dereferencing.

impl Eq for XrBoundedReferenceSpace[src]

impl From<JsValue> for XrBoundedReferenceSpace[src]

impl From<XrBoundedReferenceSpace> for JsValue[src]

impl From<XrBoundedReferenceSpace> for XrReferenceSpace[src]

impl From<XrBoundedReferenceSpace> for XrSpace[src]

impl From<XrBoundedReferenceSpace> for EventTarget[src]

impl From<XrBoundedReferenceSpace> for Object[src]

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

impl OptionFromWasmAbi for XrBoundedReferenceSpace[src]

impl OptionIntoWasmAbi for XrBoundedReferenceSpace[src]

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

impl PartialEq<XrBoundedReferenceSpace> for XrBoundedReferenceSpace[src]

impl RefFromWasmAbi for XrBoundedReferenceSpace[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<XrBoundedReferenceSpace>

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

impl StructuralPartialEq for XrBoundedReferenceSpace[src]

impl WasmDescribe for XrBoundedReferenceSpace[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.