pub trait DimMax<D: Dim>: Dim { type Output: Dim; // Required method fn max(self, other: D) -> Self::Output; }