pub trait MutFunc<T> {
// Required methods
fn map<F>(self, f: F) -> Self
where F: FnMut(&mut T);
fn mmap<F>(&mut self, f: F)
where F: FnMut(&mut T);
fn conc(self, other: Self) -> Self;
}Required Methods§
fn map<F>(self, f: F) -> Self
fn mmap<F>(&mut self, f: F)
fn conc(self, other: Self) -> Self
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.