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

Required methods

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

Implementors