Trait num_traits::RefNum[][src]

pub trait RefNum<Base>: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base> { }

The trait for references which implement numeric operations, taking the second operand either by value or by reference.

This is automatically implemented for types which implement the operators.

Implementors