Trait XRInputSourcesChangeEventMethods

Source
pub(crate) trait XRInputSourcesChangeEventMethods<D>
where D: DomTypes,
{ // Required methods fn Session(&self) -> Root<Dom<<D as DomTypes>::XRSession>>; fn Added(&self, cx: JSContext, retval: MutableHandle<'_, Value>); fn Removed(&self, cx: JSContext, retval: MutableHandle<'_, Value>); fn IsTrusted(&self) -> bool; fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, type_: DOMString, eventInitDict: &XRInputSourcesChangeEventInit<D>, ) -> Root<Dom<<D as DomTypes>::XRInputSourcesChangeEvent>>; }

Required Methods§

Source

fn Session(&self) -> Root<Dom<<D as DomTypes>::XRSession>>

Source

fn Added(&self, cx: JSContext, retval: MutableHandle<'_, Value>)

Source

fn Removed(&self, cx: JSContext, retval: MutableHandle<'_, Value>)

Source

fn IsTrusted(&self) -> bool

Source

fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, type_: DOMString, eventInitDict: &XRInputSourcesChangeEventInit<D>, ) -> Root<Dom<<D as DomTypes>::XRInputSourcesChangeEvent>>

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§