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§

source

fn Layer(&self) -> Root<Dom<XRLayer>>

source

fn IsTrusted(&self) -> bool

source

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.

Implementors§