pub trait DecrementMut {
// Required method
fn dec_mut(&mut self);
}Expand description
The DecrementMut trait defines a decrement method that operates in place,
modifying the original object.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".