Struct mozjs::jsapi::AutoHoldPrincipals
source · #[repr(C)]pub struct AutoHoldPrincipals {
pub cx_: *mut JSContext,
pub principals_: *mut JSPrincipals,
}
Fields§
§cx_: *mut JSContext
§principals_: *mut JSPrincipals
Trait Implementations§
source§impl Debug for AutoHoldPrincipals
impl Debug for AutoHoldPrincipals
source§impl PartialEq<AutoHoldPrincipals> for AutoHoldPrincipals
impl PartialEq<AutoHoldPrincipals> for AutoHoldPrincipals
source§fn eq(&self, other: &AutoHoldPrincipals) -> bool
fn eq(&self, other: &AutoHoldPrincipals) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoHoldPrincipals
Auto Trait Implementations§
impl RefUnwindSafe for AutoHoldPrincipals
impl !Send for AutoHoldPrincipals
impl !Sync for AutoHoldPrincipals
impl Unpin for AutoHoldPrincipals
impl UnwindSafe for AutoHoldPrincipals
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