pub trait Apply<T> {
type Cont<_T>;
// Required method
fn apply<U, F>(&self, rhs: F) -> Self::Cont<U>
where F: FnOnce(&T) -> U;
}Expand description
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".