pub trait XRInputSourceEventMethods {
    // Required methods
    fn Frame(&self) -> Root<Dom<XRFrame>>;
    fn InputSource(&self) -> Root<Dom<XRInputSource>>;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: &XRInputSourceEventInit,
    ) -> Result<Root<Dom<XRInputSourceEvent>>, Error>;
}

Required Methods§

source

fn Frame(&self) -> Root<Dom<XRFrame>>

source

fn InputSource(&self) -> Root<Dom<XRInputSource>>

source

fn IsTrusted(&self) -> bool

source

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

Object Safety§

This trait is not object safe.

Implementors§