[−][src]Trait sp_runtime::traits::Scale
Multiply and divide by a number that isn't necessarily the same type. Basically just the same
as Mul
and Div
except it can be used for all basic numeric types.
Associated Types
type Output
The output type of the product of self
and Other
.
Required methods
fn mul(self, other: Other) -> Self::Output
@return the product of self
and other
.
fn div(self, other: Other) -> Self::Output
@return the integer division of self
and other
.
fn rem(self, other: Other) -> Self::Output
@return the modulo remainder of self
and other
.