pub trait WithExt: Sized {
// Provided method
fn with(self, with: impl FnOnce(Self) -> Self) -> Self { ... }
}Expand description
Methods for unconditionally modifying an element.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".