#[repr(C)]pub(crate) struct WEBGLDebugRendererInfo {
reflector_: Reflector,
}Fields§
§reflector_: ReflectorImplementations§
Source§impl WEBGLDebugRendererInfo
impl WEBGLDebugRendererInfo
fn __assert_parent_type(&self)
Trait Implementations§
Source§impl DomObject for WEBGLDebugRendererInfo
impl DomObject for WEBGLDebugRendererInfo
type ReflectorType = <Reflector as DomObject>::ReflectorType
Source§fn reflector(&self) -> &Reflector<Self::ReflectorType>
fn reflector(&self) -> &Reflector<Self::ReflectorType>
Returns the receiver’s reflector.
Source§impl Drop for WEBGLDebugRendererInfo
impl Drop for WEBGLDebugRendererInfo
impl Eq for WEBGLDebugRendererInfo
Source§impl HasParent for WEBGLDebugRendererInfo
impl HasParent for WEBGLDebugRendererInfo
Source§impl IDLInterface for WEBGLDebugRendererInfo
impl IDLInterface for WEBGLDebugRendererInfo
Source§const PROTO_ID: ID = PrototypeList::ID::WEBGLDebugRendererInfo
const PROTO_ID: ID = PrototypeList::ID::WEBGLDebugRendererInfo
The concrete type represented by this interface instance.
Source§const PROTO_FIRST: u16 = 556
const PROTO_FIRST: u16 = 556
First prototype ID in the DFS-ordered range for this interface and its descendants.
Source§const PROTO_LAST: u16 = 556
const PROTO_LAST: u16 = 556
Last prototype ID in the DFS-ordered range for this interface and its descendants.
Source§impl MallocSizeOf for WEBGLDebugRendererInfo
impl MallocSizeOf for WEBGLDebugRendererInfo
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 PartialEq for WEBGLDebugRendererInfo
impl PartialEq for WEBGLDebugRendererInfo
Source§impl ToJSValConvertible for WEBGLDebugRendererInfo
impl ToJSValConvertible for WEBGLDebugRendererInfo
Source§fn to_jsval(&self, cx: &mut JSContext, rval: MutableHandleValue<'_>)
fn to_jsval(&self, cx: &mut JSContext, rval: MutableHandleValue<'_>)
Convert
self to a JSVal. JSAPI failure causes a panic.Source§impl Traceable for WEBGLDebugRendererInfo
impl Traceable for WEBGLDebugRendererInfo
Source§impl WebGLExtension for WEBGLDebugRendererInfo
impl WebGLExtension for WEBGLDebugRendererInfo
type Extension = WEBGLDebugRendererInfo
Source§fn new(
cx: &mut JSContext,
ctx: &WebGLRenderingContext,
) -> DomRoot<WEBGLDebugRendererInfo>
fn new( cx: &mut JSContext, ctx: &WebGLRenderingContext, ) -> DomRoot<WEBGLDebugRendererInfo>
Creates the DOM object of the WebGL extension.
Source§fn spec() -> WebGLExtensionSpec
fn spec() -> WebGLExtensionSpec
Returns which WebGL spec is this extension written against.
Source§fn is_supported(_ext: &WebGLExtensions) -> bool
fn is_supported(_ext: &WebGLExtensions) -> bool
Checks if the extension is supported.
Source§fn enable(ext: &WebGLExtensions)
fn enable(ext: &WebGLExtensions)
Enable the extension.
Auto Trait Implementations§
impl !Freeze for WEBGLDebugRendererInfo
impl !RefUnwindSafe for WEBGLDebugRendererInfo
impl !Send for WEBGLDebugRendererInfo
impl !Sync for WEBGLDebugRendererInfo
impl Unpin for WEBGLDebugRendererInfo
impl UnsafeUnpin for WEBGLDebugRendererInfo
impl UnwindSafe for WEBGLDebugRendererInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<D, T> DomGlobalGeneric<D> for T
impl<D, T> DomGlobalGeneric<D> for T
Source§fn global_from_reflector(&self) -> Root<Dom<<D as DomTypes>::GlobalScope>>where
Self: Sized,
fn global_from_reflector(&self) -> Root<Dom<<D as DomTypes>::GlobalScope>>where
Self: Sized,
Returns the [
GlobalScope] of the realm that the DomObject was created in. If this
object is a Node, this will be different from it’s owning Document if adopted by. For
Nodes it’s almost always better to use NodeTraits::owning_global.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
Source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
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