pub trait MaxXy<T> {
    fn max_xy(&self, value: T) -> Self;
}

Required methods

Return self.x.max(value) and self.y.max(value) as opposed to max which returns the highest out of self or value If value is primitive then both self.x and self.y will be max’d using the same value otherwise self.x will only max’d by min.x and max.x and the same for y

Implementors