pub(crate) trait GPUComputePipelineMethods<D>where
D: DomTypes,{
// Required methods
fn Label(&self) -> USVString;
fn SetLabel(&self, cx: &NoGC, value: USVString);
fn GetBindGroupLayout(
&self,
cx: &mut JSContext,
index: u32,
) -> Result<Root<Dom<<D as DomTypes>::GPUBindGroupLayout>>, Error>;
}Required Methods§
fn Label(&self) -> USVString
fn SetLabel(&self, cx: &NoGC, value: USVString)
fn GetBindGroupLayout( &self, cx: &mut JSContext, index: u32, ) -> Result<Root<Dom<<D as DomTypes>::GPUBindGroupLayout>>, Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".