pub trait DecrementRef {
type Output;
// Required method
fn dec_ref(&self) -> Self::Output;
}Expand description
DecrementRef is a trait describing the ability to decrement a value by reference.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".