Skip to main content

Partial1

Trait Partial1 

Source
pub trait Partial1<T0, R>: Fn(T0) -> R + Copy {
    // Required method
    fn partial1(self, arg0: T0) -> impl Fn() -> R + Copy
       where T0: Copy;
}

Required Methods§

Source

fn partial1(self, arg0: T0) -> impl Fn() -> R + Copy
where T0: Copy,

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<T0, R, F: Fn(T0) -> R + Copy> Partial1<T0, R> for F