branch | transitional_engine |
changeset 16039 | a236360669cc |
parent 16032 | 31cc1e450273 |
16036:7b8d96fc8799 | 16039:a236360669cc |
---|---|
2 use std::{ |
2 use std::{ |
3 cmp::{max, min}, |
3 cmp::{max, min}, |
4 ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, RangeInclusive, Sub, SubAssign}, |
4 ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, RangeInclusive, Sub, SubAssign}, |
5 }; |
5 }; |
6 |
6 |
7 #[derive(PartialEq, Eq, Clone, Copy, Debug)] |
7 #[derive(PartialEq, Eq, Clone, Copy, Debug, Hash)] |
8 pub struct Point { |
8 pub struct Point { |
9 pub x: i32, |
9 pub x: i32, |
10 pub y: i32, |
10 pub y: i32, |
11 } |
11 } |
12 |
12 |