Trait collections::std::ops::Fn [] [src]

pub trait Fn<Args>: FnMut<Args> {
    extern "rust-call" fn call(&self, args: Args) -> Self::Output;
}

A version of the call operator that takes an immutable receiver.

Required Methods

extern "rust-call" fn call(&self, args: Args) -> Self::Output

Unstable (fn_traits #29625)

This is called when the call operator is used.

Implementors