Macro serde_closure::FnOnce

source ·
FnOnce!() { /* proc-macro */ }
Expand description

Macro that wraps a closure, evaluating to a FnOnce struct that implements traits::FnOnce (and std::ops::FnOnce on nightly), Debug, Serialize and Deserialize, and various convenience traits.

See the readme for examples.