mozjs_sys::jsapi::js

Type Alias RootedGCThingTraits_PersistentBase

Source
pub type RootedGCThingTraits_PersistentBase = TypedRootedGCThingBase<PersistentRootedBase>;

Aliased Type§

struct RootedGCThingTraits_PersistentBase {
    pub _phantom_0: PhantomData<UnsafeCell<PersistentRootedBase>>,
    pub _base: PersistentRootedBase,
}

Fields§

§_phantom_0: PhantomData<UnsafeCell<PersistentRootedBase>>§_base: PersistentRootedBase

Trait Implementations

Source§

impl<Base: Clone> Clone for TypedRootedGCThingBase<Base>

Source§

fn clone(&self) -> TypedRootedGCThingBase<Base>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<Base: Debug> Debug for TypedRootedGCThingBase<Base>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<Base: PartialEq> PartialEq for TypedRootedGCThingBase<Base>

Source§

fn eq(&self, other: &TypedRootedGCThingBase<Base>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<Base: Copy> Copy for TypedRootedGCThingBase<Base>

Source§

impl<Base> StructuralPartialEq for TypedRootedGCThingBase<Base>