1 2 3 4 5 6 7 8 9 10 11
#[derive(Debug)] pub struct Vec2<Value> { pub x: Value, pub y: Value, } impl Vec2<u32> { pub const ZERO: Self = Self { x: 0, y: 0 }; }