Trait Mulpub

Source
:trait(pub) Mul rhs result
  .* ( Self rhs  result )
  .one (  result )
Description

Binary multiplication. .one returns the multiplicative identity for the result type.

Required Methods

.* ( Self rhs result )

Multiply two values, producing a result whose type is determined by the impl.

.one ( result )

The multiplicative identity — value that leaves any product unchanged.

Implementors

impl Mul for Int

impl Mul for Float