script::dom::bindings::codegen::GenericBindings::WebGPUBinding::GPUUncapturedErrorEvent_Binding

Trait GPUUncapturedErrorEventMethods

Source
pub(crate) trait GPUUncapturedErrorEventMethods<D: DomTypes> {
    // Required methods
    fn Error(&self) -> DomRoot<D::GPUError>;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &D::GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        gpuUncapturedErrorEventInitDict: &GPUUncapturedErrorEventInit<D>,
    ) -> DomRoot<D::GPUUncapturedErrorEvent>;
}

Required Methods§

Source

fn Error(&self) -> DomRoot<D::GPUError>

Source

fn IsTrusted(&self) -> bool

Source

fn Constructor( global: &D::GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, gpuUncapturedErrorEventInitDict: &GPUUncapturedErrorEventInit<D>, ) -> DomRoot<D::GPUUncapturedErrorEvent>

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§