Expand description
Provides the BareFnOnce, BareFnMut and BareFn wrapper types which allow closures to
be called through context-free unsafe bare functions.
Macros§
- bare_
dyn proc_macros - Shorthand for a
BareFn*type taking a boxed closure.
Structs§
- BareFn
- Wrapper around a
Fnclosure which exposes a bare function thunk that can invoke it without additional arguments. - Bare
FnMut - Wrapper around a
FnMutclosure which exposes a bare function thunk that can invoke it without additional arguments. - Bare
FnOnce - Wrapper around a
FnOnceclosure which exposes a bare function thunk that can invoke it without additional arguments.