Struct mozjs::jsapi::JS::Dispatchable
source · #[repr(C)]pub struct Dispatchable {
pub vtable_: *const Dispatchable__bindgen_vtable,
}
Expand description
The Dispatchable interface allows the embedding to call SpiderMonkey on a JSContext thread when requested via DispatchToEventLoopCallback.
Fields§
§vtable_: *const Dispatchable__bindgen_vtable
Trait Implementations§
source§impl Debug for Dispatchable
impl Debug for Dispatchable
source§impl PartialEq<Dispatchable> for Dispatchable
impl PartialEq<Dispatchable> for Dispatchable
source§fn eq(&self, other: &Dispatchable) -> bool
fn eq(&self, other: &Dispatchable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Dispatchable
Auto Trait Implementations§
impl RefUnwindSafe for Dispatchable
impl !Send for Dispatchable
impl !Sync for Dispatchable
impl Unpin for Dispatchable
impl UnwindSafe for Dispatchable
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