Trait std::ops::FnOnce[src]

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

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

Required Methods

fn call_once<Args, Result>(self, args: Args) -> Result

This is called when the call operator is used.

Implementors