Module serde_closure::structs

source ·
Expand description

Structs representing a serializable closure, created by the FnOnce, FnMut and Fn macros. They implement traits::FnOnce, traits::FnMut and traits::Fn respectively (and std::ops::FnOnce, std::ops::FnMut and std::ops::Fn on nightly), as well as Debug, Serialize and Deserialize, and various convenience traits.

See the readme for examples.

Structs

A struct representing a serializable closure, created by the Fn macro. Implements traits::Fn (and std::ops::Fn on nightly), Debug, Serialize and Deserialize, and various convenience traits.
A struct representing a serializable closure, created by the FnMut macro. Implements traits::FnMut (and std::ops::FnMut on nightly), Debug, Serialize and Deserialize, and various convenience traits.
A struct representing a serializable closure, created by the FnOnce macro. Implements traits::FnOnce (and std::ops::FnOnce on nightly), Debug, Serialize and Deserialize, and various convenience traits.