pub trait XRSessionEventMethods<D: DomTypes> {
    // Required methods
    fn Session(&self) -> Root<Dom<XRSession>>;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: &XRSessionEventInit,
    ) -> Result<Root<Dom<XRSessionEvent>>, Error>;
}

Required Methods§

source

fn Session(&self) -> Root<Dom<XRSession>>

source

fn IsTrusted(&self) -> bool

source

fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &XRSessionEventInit, ) -> Result<Root<Dom<XRSessionEvent>>, Error>

Object Safety§

This trait is not object safe.

Implementors§