pub trait CompoundAssign<N> {
// Required method
fn compound_assign(&mut self, n: N);
}Expand description
Replaces a number $x$ with the compound function $(1+x)^n$.
Required Methods§
fn compound_assign(&mut self, n: N)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".