Trait std::ops::FnStable [-] [+] [src]

pub trait Fn<Args> where <Self as Fn<Args>>::Output: Sized {
    type Output;

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

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

Associated Types

type Output

Required Methods

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

This is called when the call operator is used.

Implementors