Trait hooks_core::fn_hook::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,

§

type FnOutput = R