mozjs_sys::jsapi::js

Type Alias CrossCompartmentSecurityWrapper

Source
pub type CrossCompartmentSecurityWrapper = SecurityWrapper<CrossCompartmentWrapper>;

Aliased Type§

struct CrossCompartmentSecurityWrapper {
    pub _phantom_0: PhantomData<UnsafeCell<CrossCompartmentWrapper>>,
    pub vtable_: *const SecurityWrapper__bindgen_vtable,
    pub _base: CrossCompartmentWrapper,
}

Fields§

§_phantom_0: PhantomData<UnsafeCell<CrossCompartmentWrapper>>§vtable_: *const SecurityWrapper__bindgen_vtable§_base: CrossCompartmentWrapper

Trait Implementations

Source§

impl<Base: Clone> Clone for SecurityWrapper<Base>

Source§

fn clone(&self) -> SecurityWrapper<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 SecurityWrapper<Base>

Source§

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

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

impl<Base: PartialEq> PartialEq for SecurityWrapper<Base>

Source§

fn eq(&self, other: &SecurityWrapper<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 SecurityWrapper<Base>

Source§

impl<Base> StructuralPartialEq for SecurityWrapper<Base>