pub trait Compound<N> {
type Output;
// Required method
fn compound(self, n: N) -> Self::Output;
}Expand description
Calculates the compound function $(1+x)^n$ of a number $x$.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".