Trait core::ops::FnOnceUnstable [-]  [+] [src]

pub trait FnOnce<Args> {
    type Output;

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

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

Associated Types

type Output

Required Methods

fn call_once(self, args: Args) -> Output

This is called when the call operator is used.

Implementors