Skip to main content

Partial3Clone

Trait Partial3Clone 

Source
pub trait Partial3Clone<T0, T1, T2, R>: Fn(T0, T1, T2) -> R + Clone {
    // Required methods
    fn partial1_clone(self, arg0: T0) -> impl Fn(T1, T2) -> R + Clone
       where T0: Clone;
    fn partial2_clone(self, arg0: T0, arg1: T1) -> impl Fn(T2) -> R + Clone
       where T0: Clone,
             T1: Clone;
    fn partial3_clone(
        self,
        arg0: T0,
        arg1: T1,
        arg2: T2,
    ) -> impl Fn() -> R + Clone
       where T0: Clone,
             T1: Clone,
             T2: Clone;
}

Required Methods§

Source

fn partial1_clone(self, arg0: T0) -> impl Fn(T1, T2) -> R + Clone
where T0: Clone,

Source

fn partial2_clone(self, arg0: T0, arg1: T1) -> impl Fn(T2) -> R + Clone
where T0: Clone, T1: Clone,

Source

fn partial3_clone(self, arg0: T0, arg1: T1, arg2: T2) -> impl Fn() -> R + Clone
where T0: Clone, T1: Clone, T2: Clone,

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, T1, T2, R, F: Fn(T0, T1, T2) -> R + Clone> Partial3Clone<T0, T1, T2, R> for F