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

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

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

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

Associated Types

type Output

Required Methods

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

This is called when the call operator is used.

Implementors