pub trait MapBoxInPlace<A> {
// Required methods
fn map<B, F: FnOnce(A) -> B>(self, f: F) -> Box<B>;
fn map_in_place<B, F: FnOnce(A) -> B>(self, f: F) -> Box<B>;
}
Required Methods§
fn map<B, F: FnOnce(A) -> B>(self, f: F) -> Box<B>
fn map_in_place<B, F: FnOnce(A) -> B>(self, f: F) -> Box<B>
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.