logo
pub trait ClosureFunctionSignature: Fn(&JsValue, &[JsValue], Captures, &mut Context) -> JsResult<JsValue> + DynCopy + DynClone + 'static { }
Expand description

Trait representing a native built-in closure.

Closures need to have this signature in order to be callable from Javascript, but most of the time the compiler is smart enough to correctly infer the types.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Implementors