Module bare_closure

Source
Expand description

Provides the BareFnOnce, BareFnMut and BareFn wrapper types which allow closures to be called through context-free unsafe bare functions.

Macros§

bare_dynproc_macros
Shorthand for a BareFn* type taking a boxed closure.

Structs§

BareFn
Wrapper around a Fn closure which exposes a bare function thunk that can invoke it without additional arguments.
BareFnMut
Wrapper around a FnMut closure which exposes a bare function thunk that can invoke it without additional arguments.
BareFnOnce
Wrapper around a FnOnce closure which exposes a bare function thunk that can invoke it without additional arguments.