Struct script::dom::xrcompositionlayer::XRCompositionLayer
source · #[repr(C)]pub struct XRCompositionLayer {
xr_layer: XRLayer,
}
Fields§
§xr_layer: XRLayer
Implementations§
source§impl XRCompositionLayer
impl XRCompositionLayer
fn __assert_parent_type(&self)
Trait Implementations§
source§impl Castable for XRCompositionLayer
impl Castable for XRCompositionLayer
source§impl DomObject for XRCompositionLayer
impl DomObject for XRCompositionLayer
source§impl DomObjectWrap for XRCompositionLayer
impl DomObjectWrap for XRCompositionLayer
source§const WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Box<Self>) -> Root<Dom<Self>> = {dom::bindings::codegen::Bindings::XRCompositionLayerBinding::XRCompositionLayerBinding::Wrap as for<'a> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::boxed::Box<dom::xrcompositionlayer::XRCompositionLayer>) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::xrcompositionlayer::XRCompositionLayer>>}
const WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Box<Self>) -> Root<Dom<Self>> = {dom::bindings::codegen::Bindings::XRCompositionLayerBinding::XRCompositionLayerBinding::Wrap as for<'a> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::boxed::Box<dom::xrcompositionlayer::XRCompositionLayer>) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::xrcompositionlayer::XRCompositionLayer>>}
Function pointer to the general wrap function type
source§impl HasParent for XRCompositionLayer
impl HasParent for XRCompositionLayer
source§impl IDLInterface for XRCompositionLayer
impl IDLInterface for XRCompositionLayer
source§impl JSTraceable for XRCompositionLayer
impl JSTraceable for XRCompositionLayer
source§impl MallocSizeOf for XRCompositionLayer
impl MallocSizeOf for XRCompositionLayer
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 XRCompositionLayer
impl MutDomObject for XRCompositionLayer
source§unsafe fn init_reflector(&self, obj: *mut JSObject)
unsafe fn init_reflector(&self, obj: *mut JSObject)
Initializes the Reflector
source§impl PartialEq<XRCompositionLayer> for XRCompositionLayer
impl PartialEq<XRCompositionLayer> for XRCompositionLayer
source§fn eq(&self, other: &XRCompositionLayer) -> bool
fn eq(&self, other: &XRCompositionLayer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl DerivedFrom<EventTarget> for XRCompositionLayer
impl DerivedFrom<XRCompositionLayer> for XRCompositionLayer
impl DerivedFrom<XRCompositionLayer> for XRCubeLayer
impl DerivedFrom<XRCompositionLayer> for XRCylinderLayer
impl DerivedFrom<XRCompositionLayer> for XREquirectLayer
impl DerivedFrom<XRCompositionLayer> for XRProjectionLayer
impl DerivedFrom<XRCompositionLayer> for XRQuadLayer
impl DerivedFrom<XRLayer> for XRCompositionLayer
Auto Trait Implementations§
impl !RefUnwindSafe for XRCompositionLayer
impl !Send for XRCompositionLayer
impl !Sync for XRCompositionLayer
impl Unpin for XRCompositionLayer
impl !UnwindSafe for XRCompositionLayer
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