Trait fn_ops::FnOnce [] [src]

pub trait FnOnce<Args> {
    type Output;
    fn call_once(self, args: Args) -> Self::Output;
}

A version of the call operator that takes a by-value receiver.

This is implemented for:

  • std::ops::FnOnce() -> Output
  • std::ops::FnOnce(a: A) -> Output
  • std::ops::FnOnce(a: A, b: B) -> Output
  • std::ops::FnOnce(a: A, b: B, c: C) -> Output
  • std::ops::FnOnce(a: A, b: B, c: C, d: D) -> Output
  • std::ops::FnOnce(a: A, b: B, c: C, d: D, e: E) -> Output

Associated Types

Required Methods

Implementors