pub trait Point { type T: Scalar; // Required methods fn index(&self) -> usize; fn dim(&self) -> usize; fn coords(&self, data: &mut [Self::T]); }
A point
Scalar type
The point’s index
Return the dimension of the point.
Get the coordinates of the point.