pub unsafe fn point_set(p: *mut Point, x: i32, y: i32) -> Result<()>
This function is unsafe because it may dereference raw pointers.