[][src]Struct web_sys::VrEyeParameters

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

The VREyeParameters object

MDN Documentation

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

Methods

impl VrEyeParameters[src]

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

The offset getter

MDN Documentation

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

impl VrEyeParameters[src]

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

The fieldOfView getter

MDN Documentation

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

impl VrEyeParameters[src]

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

The renderWidth getter

MDN Documentation

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

impl VrEyeParameters[src]

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

The renderHeight getter

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

impl RefUnwindSafe for VrEyeParameters

impl !Send for VrEyeParameters

impl !Sync for VrEyeParameters

impl Unpin for VrEyeParameters

impl UnwindSafe for VrEyeParameters

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.