Trait script::dom::bindings::codegen::Bindings::WebGLContextEventBinding::WebGLContextEvent_Binding::WebGLContextEventMethods
source · pub trait WebGLContextEventMethods<D: DomTypes> {
// Required methods
fn StatusMessage(&self) -> DOMString;
fn IsTrusted(&self) -> bool;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
type_: DOMString,
eventInit: &WebGLContextEventInit,
) -> Result<Root<Dom<WebGLContextEvent>>, Error>;
}
Required Methods§
fn StatusMessage(&self) -> DOMString
fn IsTrusted(&self) -> bool
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInit: &WebGLContextEventInit, ) -> Result<Root<Dom<WebGLContextEvent>>, Error>
Object Safety§
This trait is not object safe.