pub trait With {
// Provided method
fn with(self, f: impl Fn(&mut Self)) -> Self
where Self: Sized { ... }
}Expand description
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".