Trait script::dom::bindings::codegen::Bindings::WebGPUBinding::GPUUncapturedErrorEvent_Binding::GPUUncapturedErrorEventMethods
source · pub trait GPUUncapturedErrorEventMethods<D: DomTypes> {
// Required methods
fn Error(&self) -> Root<Dom<GPUError>>;
fn IsTrusted(&self) -> bool;
fn Constructor(
global: &GlobalScope,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
type_: DOMString,
gpuUncapturedErrorEventInitDict: &GPUUncapturedErrorEventInit,
) -> Root<Dom<GPUUncapturedErrorEvent>>;
}
Required Methods§
fn Error(&self) -> Root<Dom<GPUError>>
fn IsTrusted(&self) -> bool
fn Constructor( global: &GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, gpuUncapturedErrorEventInitDict: &GPUUncapturedErrorEventInit, ) -> Root<Dom<GPUUncapturedErrorEvent>>
Object Safety§
This trait is not object safe.