pub trait PercentChange<Rhs = Self> {
type Output;
// Required method
fn percent_change(self, rhs: Rhs) -> Self::Output;
}Expand description
The PercentChange trait establishes a binary operator for computing the percent change
between two values where the caller is considered the original value.