pub trait Vec2: From<[f32; 2]> + Copy { // Required methods fn x(&self) -> f32; fn y(&self) -> f32; }