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