Trait CallableOnce

Source
pub trait CallableOnce<Args: Tuple = ()> {
    type Output;

    // Required method
    fn call_fn_once(self, args: Args) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn call_fn_once(self, args: Args) -> Self::Output

Implementors§

Source§

impl<T, Args: Tuple> CallableOnce<Args> for T
where T: CallableMut<Args>,

Source§

type Output = <T as CallableMut<Args>>::Output