pub trait FnOnce<Args> {
    type Output;

    fn call_once(self, args: Args) -> Self::Output;
}
Expand description

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

See the readme for examples.

Required Associated Types

The returned type after the call operator is used.

Required Methods

Performs the call operation.

Implementors