[][src]Struct web_sys::VrEyeParameters

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

The VrEyeParameters class.

MDN Documentation

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

Implementations

impl VrEyeParameters[src]

pub fn offset(&self) -> Result<Vec<f32>, JsValue>[src]

Getter for the offset field of this object.

MDN Documentation

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

impl VrEyeParameters[src]

pub fn field_of_view(&self) -> VrFieldOfView[src]

Getter for the fieldOfView field of this object.

MDN Documentation

This API requires the following crate features to be activated: VrEyeParameters, VrFieldOfView

impl VrEyeParameters[src]

pub fn render_width(&self) -> u32[src]

Getter for the renderWidth field of this object.

MDN Documentation

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

impl VrEyeParameters[src]

pub fn render_height(&self) -> u32[src]

Getter for the renderHeight field of this object.

MDN Documentation

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

Trait Implementations

impl AsRef<JsValue> for VrEyeParameters[src]

impl AsRef<Object> for VrEyeParameters[src]

impl AsRef<VrEyeParameters> for VrEyeParameters[src]

impl Clone for VrEyeParameters[src]

impl Debug for VrEyeParameters[src]

impl Deref for VrEyeParameters[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for VrEyeParameters[src]

impl From<JsValue> for VrEyeParameters[src]

impl From<VrEyeParameters> for JsValue[src]

impl From<VrEyeParameters> for Object[src]

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

impl OptionFromWasmAbi for VrEyeParameters[src]

impl OptionIntoWasmAbi for VrEyeParameters[src]

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

impl PartialEq<VrEyeParameters> for VrEyeParameters[src]

impl RefFromWasmAbi for VrEyeParameters[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<VrEyeParameters>

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

impl StructuralPartialEq for VrEyeParameters[src]

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