Trait FnMutOneArg

Source
pub trait FnMutOneArg<Arg> {
    type FnOutput;

    // Required method
    fn call_mut_with_one_arg(&mut self, arg: Arg) -> Self::FnOutput;
}

Required Associated Types§

Required Methods§

Source

fn call_mut_with_one_arg(&mut self, arg: Arg) -> Self::FnOutput

Implementors§

Source§

impl<F, Arg, R> FnMutOneArg<Arg> for F
where F: FnMut(Arg) -> R,