[source,rust] ---- struct Point { x: i32, y: i32, } impl Point { fn new(x: i32, y: i32) -> Point { Point { x, y } } } fn set_coordinates(p1: &mut Point, p2: &Point) { // ... } ----