Trait core::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
#29625)This is called when the call operator is used.
Implementors
impl<'a, A, F: ?Sized> Fn<A> for &'a F where F: Fn<A>
impl<'a> Fn<(&'a str,)> for LinesAnyMap