pub trait Pipe2: Sized + Pipe2Ref {
// Provided method
fn pipe2<R, A1, A2>(
self,
f: impl FnOnce(Self, A1, A2) -> R,
) -> impl FnOnce(A1, A2) -> R { ... }
}Expand description
Adds by-value partial application for arity 2 (requires Self: Sized).
Provided Methods§
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.