Trait script::dom::bindings::codegen::Bindings::XRMediaBindingBinding::XRMediaBinding_Binding::XRMediaBindingMethods
source · pub trait XRMediaBindingMethods {
// Required methods
fn CreateQuadLayer(
&self,
video: &HTMLVideoElement,
init: &XRMediaLayerInit,
) -> Result<Root<Dom<XRQuadLayer>>, Error>;
fn CreateCylinderLayer(
&self,
video: &HTMLVideoElement,
init: &XRMediaLayerInit,
) -> Result<Root<Dom<XRCylinderLayer>>, Error>;
fn CreateEquirectLayer(
&self,
video: &HTMLVideoElement,
init: &XRMediaLayerInit,
) -> Result<Root<Dom<XREquirectLayer>>, Error>;
}