[][src]Module vecmath::traits

Various useful traits

Traits

Cast

Casts into another type.

Float

Convenience trait for floats.

FromPrimitive

Trait for converting from different numeric types

Max

Maximum value.

Min

Minimum value.

One

Number 1.

Powf

Floating number power.

Radians

Useful constants for radians.

Signum

The sign of the number.

Sqrt

Square root.

Trig

Basic trigonometry functions

Zero

Number 0.