Trait serde_closure::traits::Fn

source ·
pub trait Fn<Args>: FnMut<Args> {
    fn call(&self, args: Args) -> Self::Output;
}
Expand description

Supertrait of std::ops::Fn that is usable on stable Rust. It is implemented by closures created by the Fn macro.

See the readme for examples.

Required Methods

Performs the call operation.

Implementors