Trait std::ops::Fn
[−]
[src]
pub trait Fn<Args>: FnMut<Args> { extern "rust-call" fn call(&self, args: Args) -> Self::Output; }
A version of the call operator that takes an immutable receiver.
Required Methods
extern "rust-call" fn call(&self, args: Args) -> Self::Output
Unstable (
fn_traits
)This is called when the call operator is used.
Implementors
impl<'a, A, F> Fn<A> for &'a F where F: Fn<A> + ?Sized
impl<'a> Fn(&'a str) for LinesAnyMap