Struct script::dom::xrequirectlayer::XREquirectLayer
source · #[repr(C)]pub struct XREquirectLayer {
composition_layer: XRCompositionLayer,
}
Fields§
§composition_layer: XRCompositionLayer
Implementations§
source§impl XREquirectLayer
impl XREquirectLayer
fn __assert_parent_type(&self)
Trait Implementations§
source§impl Castable for XREquirectLayer
impl Castable for XREquirectLayer
source§impl DomObject for XREquirectLayer
impl DomObject for XREquirectLayer
source§impl DomObjectWrap for XREquirectLayer
impl DomObjectWrap for XREquirectLayer
source§const WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Box<Self>) -> Root<Dom<Self>> = {dom::bindings::codegen::Bindings::XREquirectLayerBinding::XREquirectLayerBinding::Wrap as for<'a> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::boxed::Box<dom::xrequirectlayer::XREquirectLayer>) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::xrequirectlayer::XREquirectLayer>>}
const WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Box<Self>) -> Root<Dom<Self>> = {dom::bindings::codegen::Bindings::XREquirectLayerBinding::XREquirectLayerBinding::Wrap as for<'a> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::boxed::Box<dom::xrequirectlayer::XREquirectLayer>) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::xrequirectlayer::XREquirectLayer>>}
Function pointer to the general wrap function type
source§impl HasParent for XREquirectLayer
impl HasParent for XREquirectLayer
source§fn as_parent(&self) -> &XRCompositionLayer
fn as_parent(&self) -> &XRCompositionLayer
This is used in a type assertion to ensure that the source and webidls agree as to what the parent type is
type Parent = XRCompositionLayer
source§impl IDLInterface for XREquirectLayer
impl IDLInterface for XREquirectLayer
source§impl JSTraceable for XREquirectLayer
impl JSTraceable for XREquirectLayer
source§impl MallocSizeOf for XREquirectLayer
impl MallocSizeOf for XREquirectLayer
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl MutDomObject for XREquirectLayer
impl MutDomObject for XREquirectLayer
source§unsafe fn init_reflector(&self, obj: *mut JSObject)
unsafe fn init_reflector(&self, obj: *mut JSObject)
Initializes the Reflector
source§impl PartialEq<XREquirectLayer> for XREquirectLayer
impl PartialEq<XREquirectLayer> for XREquirectLayer
source§fn eq(&self, other: &XREquirectLayer) -> bool
fn eq(&self, other: &XREquirectLayer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToJSValConvertible for XREquirectLayer
impl ToJSValConvertible for XREquirectLayer
impl DerivedFrom<EventTarget> for XREquirectLayer
impl DerivedFrom<XRCompositionLayer> for XREquirectLayer
impl DerivedFrom<XRLayer> for XREquirectLayer
Auto Trait Implementations§
impl !RefUnwindSafe for XREquirectLayer
impl !Send for XREquirectLayer
impl !Sync for XREquirectLayer
impl Unpin for XREquirectLayer
impl !UnwindSafe for XREquirectLayer
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert