Trait script::dom::bindings::codegen::Bindings::XRInputSourceEventBinding::XRInputSourceEvent_Binding::XRInputSourceEventMethods
source · pub trait XRInputSourceEventMethods<D: DomTypes> {
// 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§
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>
Object Safety§
This trait is not object safe.