script::dom::bindings::codegen::Bindings::XRWebGLBindingBinding::XRWebGLBinding_Binding

Trait XRWebGLBindingMethods

Source
pub trait XRWebGLBindingMethods<D>
where D: DomTypes,
{ // Required methods fn CreateProjectionLayer( &self, textureType: XRTextureType, init: &XRProjectionLayerInit, ) -> Result<Root<Dom<<D as DomTypes>::XRProjectionLayer>>, Error>; fn CreateQuadLayer( &self, textureType: XRTextureType, init: &Option<XRQuadLayerInit<D>>, ) -> Result<Root<Dom<<D as DomTypes>::XRQuadLayer>>, Error>; fn CreateCylinderLayer( &self, textureType: XRTextureType, init: &Option<XRCylinderLayerInit<D>>, ) -> Result<Root<Dom<<D as DomTypes>::XRCylinderLayer>>, Error>; fn CreateEquirectLayer( &self, textureType: XRTextureType, init: &Option<XREquirectLayerInit<D>>, ) -> Result<Root<Dom<<D as DomTypes>::XREquirectLayer>>, Error>; fn CreateCubeLayer( &self, init: &Option<XRCubeLayerInit<D>>, ) -> Result<Root<Dom<<D as DomTypes>::XRCubeLayer>>, Error>; fn GetSubImage( &self, layer: &<D as DomTypes>::XRCompositionLayer, frame: &<D as DomTypes>::XRFrame, eye: XREye, ) -> Result<Root<Dom<<D as DomTypes>::XRWebGLSubImage>>, Error>; fn GetViewSubImage( &self, layer: &<D as DomTypes>::XRProjectionLayer, view: &<D as DomTypes>::XRView, ) -> Result<Root<Dom<<D as DomTypes>::XRWebGLSubImage>>, Error>; fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, session: &<D as DomTypes>::XRSession, context: WebGLRenderingContextOrWebGL2RenderingContext<D>, ) -> Result<Root<Dom<<D as DomTypes>::XRWebGLBinding>>, Error>; }

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§