Trait geo_nd::Num[][src]

pub trait Num: Neg<Output = Self> + Num + NumAssignOps + Clone + Copy + PartialEq + Display + Debug { }
Expand description

The Num trait is required for matrix or vector elements; it is not a float, and so some of the matrix and vector operations can operate on integer types such as i32, i64 and isize

The trait requires basic numeric operations, plus specifically std::fmt::Display.

Implementations on Foreign Types

Implementors