pub trait Product {
fn product(self, other: Self) -> Self;
}
Expand description
Trait defining the product of two numbers.
For bool
this is the same as boolean AND; otherwise it’s the same as Mul
.
pub trait Product {
fn product(self, other: Self) -> Self;
}
Trait defining the product of two numbers.
For bool
this is the same as boolean AND; otherwise it’s the same as Mul
.