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

Required methods

Return self.x - value and self.y - value If value is primitive then both self.x and self.y will be subtracted using the same value otherwise self.x will only subtracted by min.x and max.x and the same for y

Implementors