pub trait ToDim { fn to_dim(&self) -> TDim; }
Convenience trait to convert values to TDim.
Convert self to a TDim.