[][src]Crate func_wrap

::func_wrap

Helper crate for procedural macro authors that wish to duplicate some received function inside its body, so as to be able to wrap with some prologue, epilogue, cache-ing, etc.

Examples

See https://docs.rs/require_unsafe_in_body for a real-life example of using it.

Structs

WrappedFuncCall

Enums

ImplOrTrait

Functions

func_wrap
parse_and_func_wrap_with