Type Alias NativeImpl

Source
pub type NativeImpl = Option<unsafe extern "C" fn(cx: *mut JSContext, args: *const CallArgs) -> bool>;

Aliased Type§

pub enum NativeImpl {
    None,
    Some(unsafe extern "C" fn(*mut JSContext, *const CallArgs) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut JSContext, *const CallArgs) -> bool)

Some value of type T.