rust_droid/common/
point.rs

1#[derive(Debug, Clone, Copy, PartialEq, Eq)]
2pub struct Point {
3    pub x: u32,
4    pub y: u32,
5}
6
7impl Point {
8    pub fn new(x: u32, y: u32) -> Self {
9        Self { x, y }
10    }
11}