pub trait CallOnce<T> {
type Output;
// Required method
fn call_once(self, args: T) -> Self::Output;
}
Expand description
Call a FnOnce
and unpack the arguments.
pub trait CallOnce<T> {
type Output;
// Required method
fn call_once(self, args: T) -> Self::Output;
}
Call a FnOnce
and unpack the arguments.