Trait script::dom::bindings::codegen::Bindings::XRReferenceSpaceEventBinding::XRReferenceSpaceEvent_Binding::XRReferenceSpaceEventMethods
source · pub trait XRReferenceSpaceEventMethods {
// Required methods
fn ReferenceSpace(&self) -> Root<Dom<XRReferenceSpace>>;
fn GetTransform(&self) -> Option<Root<Dom<XRRigidTransform>>>;
fn IsTrusted(&self) -> bool;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
type_: DOMString,
eventInitDict: &XRReferenceSpaceEventInit,
) -> Result<Root<Dom<XRReferenceSpaceEvent>>, Error>;
}
Required Methods§
fn ReferenceSpace(&self) -> Root<Dom<XRReferenceSpace>>
fn GetTransform(&self) -> Option<Root<Dom<XRRigidTransform>>>
fn IsTrusted(&self) -> bool
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &XRReferenceSpaceEventInit, ) -> Result<Root<Dom<XRReferenceSpaceEvent>>, Error>
Object Safety§
This trait is not object safe.