Trait NumRef
nannou::prelude
pub trait NumRef: Num + NumOps<&'r Self, Self> { }
The trait for Num types which also implement numeric operations taking the second operand by reference.
Num
This is automatically implemented for types which implement the operators.
impl<T> NumRef for T where T: Num + NumOps<&'r T, T>,