Trait fn_ops::Fn
[−]
[src]
pub trait Fn<Args>: FnMut<Args> { fn call(&self, args: Args) -> Self::Output; }
A version of the call operator that takes an immutable receiver.
This is implemented for:
std::ops::Fn() -> Output
std::ops::Fn(a: A) -> Output
std::ops::Fn(a: A, b: B) -> Output
std::ops::Fn(a: A, b: B, c: C) -> Output
std::ops::Fn(a: A, b: B, c: C, d: D) -> Output
std::ops::Fn(a: A, b: B, c: C, d: D, e: E) -> Output
Required Methods
Implementors
impl<F, Output> Fn<()> for F where
F: Fn() -> Output,impl<F, A, Output> Fn<(A,)> for F where
F: Fn(A) -> Output,impl<F, A, B, Output> Fn<(A, B)> for F where
F: Fn(A, B) -> Output,impl<F, A, B, C, Output> Fn<(A, B, C)> for F where
F: Fn(A, B, C) -> Output,impl<F, A, B, C, D, Output> Fn<(A, B, C, D)> for F where
F: Fn(A, B, C, D) -> Output,impl<F, A, B, C, D, E, Output> Fn<(A, B, C, D, E)> for F where
F: Fn(A, B, C, D, E) -> Output,