Trait std::ops::FnOnceUnstable
[-]
[+]
[src]
pub trait FnOnce<Args> where <Self as FnOnce<Args>>::Output: Sized {
type Output;
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
Required Methods
fn call_once(self, args: Args) -> <Self as FnOnce<Args>>::Output
This is called when the call operator is used.