Module lindel::nalgebra_points[][src]

A few traits and functions for linearising nalgebra’s Point data-types.

For people who’ve understood the functions in the main library, there’s absolutely nothing new here. The only difference is that, rather than implementing each function in both method and function ways, each function is only implemented method-style (for the encoding) or associated-function style (for the decoding). Please refer to the examples mentioned in the Lineariseable trait or the README file.

Traits

IdealKey

Given a data type and a type-number, it yields the smallest unsigned integer that’s at least N times larger.