1 2 3 4 5 6 7 8 9 10
pub struct Cursor { pub x: f64, pub y: f64, } impl Cursor { pub fn new(x: f64, y: f64) -> Self { Self { x, y } } }