There are constants like std::u32::MAX, but AFAIK there’s no generic way to get the maximum.
I was writing an algorithm that works on Ord, but I needed a special value that is higher than all other values. I’ve had to roll my own trait for this, but It’d be nice to have that in stdlib.