Trait FunctionExt

Source
pub trait FunctionExt<P> {
    type Output;

    // Required method
    fn call_mut(&mut self, params: P) -> Self::Output;
}
Expand description

Trait implemented on Function to mimic FnMut.

Required Associated Types§

Required Methods§

Source

fn call_mut(&mut self, params: P) -> Self::Output

Implementors§

Source§

impl<Z, R> FunctionExt<()> for Function<Z, (), R>
where Z: FnMut() -> R,

Source§

impl<Z, R, A> FunctionExt<(A,)> for Function<Z, (A,), R>
where Z: FnMut(A) -> R,

Source§

impl<Z, R, A, B> FunctionExt<(A, B)> for Function<Z, (A, B), R>
where Z: FnMut(A, B) -> R,

Source§

impl<Z, R, A, B, C> FunctionExt<(A, B, C)> for Function<Z, (A, B, C), R>
where Z: FnMut(A, B, C) -> R,

Source§

impl<Z, R, A, B, C, D> FunctionExt<(A, B, C, D)> for Function<Z, (A, B, C, D), R>
where Z: FnMut(A, B, C, D) -> R,

Source§

impl<Z, R, A, B, C, D, E> FunctionExt<(A, B, C, D, E)> for Function<Z, (A, B, C, D, E), R>
where Z: FnMut(A, B, C, D, E) -> R,

Source§

impl<Z, R, A, B, C, D, E, F> FunctionExt<(A, B, C, D, E, F)> for Function<Z, (A, B, C, D, E, F), R>
where Z: FnMut(A, B, C, D, E, F) -> R,

Source§

impl<Z, R, A, B, C, D, E, F, G> FunctionExt<(A, B, C, D, E, F, G)> for Function<Z, (A, B, C, D, E, F, G), R>
where Z: FnMut(A, B, C, D, E, F, G) -> R,

Source§

impl<Z, R, A, B, C, D, E, F, G, H> FunctionExt<(A, B, C, D, E, F, G, H)> for Function<Z, (A, B, C, D, E, F, G, H), R>
where Z: FnMut(A, B, C, D, E, F, G, H) -> R,

Source§

impl<Z, R, A, B, C, D, E, F, G, H, I> FunctionExt<(A, B, C, D, E, F, G, H, I)> for Function<Z, (A, B, C, D, E, F, G, H, I), R>
where Z: FnMut(A, B, C, D, E, F, G, H, I) -> R,

Source§

impl<Z, R, A, B, C, D, E, F, G, H, I, J> FunctionExt<(A, B, C, D, E, F, G, H, I, J)> for Function<Z, (A, B, C, D, E, F, G, H, I, J), R>
where Z: FnMut(A, B, C, D, E, F, G, H, I, J) -> R,