Trait std::ops::FnStable
[-] [+]
[src]
pub trait Fn<Args> where <Self as Fn<Args>>::Output: Sized {
type Output;
extern "rust-call" fn call(&self, args: Args) -> <Self as Fn<Args>>::Output;
}
A version of the call operator that takes an immutable receiver.
Associated Types
Required Methods
extern "rust-call" fn call(&self, args: Args) -> <Self as Fn<Args>>::Output
This is called when the call operator is used.
Implementors
impl<'a> Fn(&'a u8) for BytesDeref