func_wrap

Crates.iofunc_wrap
lib.rsfunc_wrap
version0.1.3
sourcesrc
created_at2020-10-27 20:48:22.336913
updated_at2020-11-23 00:08:17.671507
descriptionHelper 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.
homepagehttps://crates.io/crates/func_wrap
repositoryhttps://github.com/danielhenrymantilla/func_wrap.rs
max_upload_size
id306103
size45,531
Daniel Henry-Mantilla (danielhenrymantilla)

documentation

https://docs.rs/func_wrap

README

::func_wrap

Repository Latest version Documentation MSRV License CI

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.

Commit count: 14

cargo fmt