Trait script::dom::bindings::codegen::Bindings::XRMediaBindingBinding::XRMediaBindingBinding::XRMediaBindingMethods
source · pub trait XRMediaBindingMethods {
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>;
}