[][src]Macro serde_closure::FnOnce

macro_rules! FnOnce {
    #[proc_macro_hack(fake_call_site)] => { ... };
}

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

See the readme for examples.