Trait script::dom::bindings::codegen::Bindings::XRLayerEventBinding::XRLayerEvent_Binding::XRLayerEventMethods
source · pub trait XRLayerEventMethods<D: DomTypes> {
// Required methods
fn Layer(&self) -> Root<Dom<XRLayer>>;
fn IsTrusted(&self) -> bool;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
type_: DOMString,
eventInitDict: &XRLayerEventInit,
) -> Root<Dom<XRLayerEvent>>;
}
Required Methods§
fn Layer(&self) -> Root<Dom<XRLayer>>
fn IsTrusted(&self) -> bool
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &XRLayerEventInit, ) -> Root<Dom<XRLayerEvent>>
Object Safety§
This trait is not object safe.