Module function

Source
Expand description

Defines CFn and CFnOnce for heap-allocated, callable function wrappers.

Structsยง

CFn
A wrapper around BFn<A, B> (a Box<dyn Fn(A) -> B + 'static>).
CFnOnce
A wrapper around BFnOnce<A, B> (a Box<dyn FnOnce(A) -> B + 'static>).