Skip to main content

XRRenderStateMethods

pub trait XRRenderStateMethods<D: DomTypes> {
    // Required methods
    fn DepthNear(&self) -> Finite<f64>;
    fn DepthFar(&self) -> Finite<f64>;
    fn GetInlineVerticalFieldOfView(&self) -> Option<Finite<f64>>;
    fn GetBaseLayer(&self) -> Option<DomRoot<D::XRWebGLLayer>>;
    fn Layers(&self, cx: &mut JSContext, retval: MutableHandle<'_, Value>);
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§