Macro scrappy_do_codegen::wrap[][src]

wrap!() { /* proc-macro */ }

Wraps a function in concrete Handler struct.

Example

Assuming handler function handler_foo has been defined by the caller:

wrap!(function_foo)