script::dom::bindings::codegen::GenericBindings::WebGPUBinding::GPUValidationError_Binding

Trait GPUValidationErrorMethods

Source
pub(crate) trait GPUValidationErrorMethods<D: DomTypes> {
    // Required method
    fn Constructor(
        global: &D::GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        message: DOMString,
    ) -> DomRoot<D::GPUValidationError>;
}

Required Methods§

Source

fn Constructor( global: &D::GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, message: DOMString, ) -> DomRoot<D::GPUValidationError>

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§