[][src]Macro serde_closure::Fn

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

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

See the readme for examples.