pub trait Product {
// Required method
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.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.