pub trait XRInputSourcesChangeEventMethods {
    // Required methods
    fn Session(&self) -> Root<Dom<XRSession>>;
    fn Added(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>);
    fn Removed(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>);
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: &XRInputSourcesChangeEventInit,
    ) -> Root<Dom<XRInputSourcesChangeEvent>>;
}

Required Methods§

source

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

source

fn Added(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>)

source

fn Removed(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>)

source

fn IsTrusted(&self) -> bool

source

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

Object Safety§

This trait is not object safe.

Implementors§