Module serde_closure::traits

source ·
Expand description

Supertraits of std::ops::FnOnce, std::ops::FnMut and std::ops::Fn that are usable on stable Rust. They are implemented by closures created by the FnOnce, FnMut and Fn macros.

See the readme for examples.

Traits

Supertrait of std::ops::Fn that is usable on stable Rust. It is implemented by closures created by the Fn macro.
Supertrait of std::ops::FnMut that is usable on stable Rust. It is implemented by closures created by the FnMut macro.
Supertrait of std::ops::FnOnce that is usable on stable Rust. It is implemented by closures created by the FnOnce macro.
A version of the FnOnce trait intended to be used for boxed trait objects to make them callable on stable Rust.