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

impl<T, Base> RefNum<Base> for T where
    T: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base>, 
[src]

Loading content...