Trait lrs::ops::FnOnce

Objects that implement the consuming function call operator.

Syntax

trait FnOnce<Args> {
    type Output;

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

Associated types

NameDescription
Output

The return type of the function.

Methods

ReceiverNameDescription
selfcall_once

The method that is called by the operator.