Trait script::dom::bindings::codegen::Bindings::XRSessionEventBinding::XRSessionEvent_Binding::XRSessionEventMethods
source · 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§
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>
Object Safety§
This trait is not object safe.