pub(crate) trait XRLayerEventMethods<D: DomTypes> {
    // Required methods
    fn Layer(&self) -> DomRoot<D::XRLayer>;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &D::Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: &XRLayerEventInit<D>,
    ) -> DomRoot<D::XRLayerEvent>;
}

Required Methods§

Source

fn Layer(&self) -> DomRoot<D::XRLayer>

Source

fn IsTrusted(&self) -> bool

Source

fn Constructor( global: &D::Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &XRLayerEventInit<D>, ) -> DomRoot<D::XRLayerEvent>

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§