Crates.io | func_wrap |
lib.rs | func_wrap |
version | 0.1.3 |
source | src |
created_at | 2020-10-27 20:48:22.336913 |
updated_at | 2020-11-23 00:08:17.671507 |
description | 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. |
homepage | https://crates.io/crates/func_wrap |
repository | https://github.com/danielhenrymantilla/func_wrap.rs |
max_upload_size | |
id | 306103 |
size | 45,531 |
::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.
See https://docs.rs/require_unsafe_in_body for a real-life example of using it.