Type Alias mozjs::jsapi::DOMCallbacks

source ·
pub type DOMCallbacks = JSDOMCallbacks;

Aliased Type§

struct DOMCallbacks {
    pub instanceClassMatchesProto: Option<unsafe extern "C" fn(_: *const JSClass, _: u32, _: u32) -> bool>,
}

Fields§

§instanceClassMatchesProto: Option<unsafe extern "C" fn(_: *const JSClass, _: u32, _: u32) -> bool>

Trait Implementations§

source§

impl Clone for JSDOMCallbacks

source§

fn clone(&self) -> JSDOMCallbacks

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 Debug for JSDOMCallbacks

source§

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

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

impl PartialEq<JSDOMCallbacks> for JSDOMCallbacks

source§

fn eq(&self, other: &JSDOMCallbacks) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for JSDOMCallbacks

source§

impl StructuralPartialEq for JSDOMCallbacks