pub trait IncrementRef {
type Output;
// Required method
fn inc_ref(&self) -> Self::Output;
}Expand description
IncrementRef is similar to Increment, but it allows for incrementing 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".