Trait Call

Source
pub trait Call<T>: Ho<Arg<T>> {
    // Required method
    fn call(f: &Self::Fun, val: T) -> Self;
}
Expand description

Implemented by higher order calls.

Required Methods§

Source

fn call(f: &Self::Fun, val: T) -> Self

Calls function with some value.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T, U> Call<T> for U
where U: Ho<Arg<T>, Fun = Func<T, Self>>,