fn add(self, other: Point) -> Point {
        Point {
            x: self.x + other.x,
            y: self.y + other.y,
        }
    }
// custom + add operator for struct
custom + add operator for struct
custom + add operator for struct
fn add(self, other: Point) -> Point {
        Point {
            x: self.x + other.x,
            y: self.y + other.y,
        }
    }
fn add ( self , other : Point ) -> Point { Point { x : self . x + other . x , y : self . y + other . y , } }
custom + add operator for struct
custom + add operator for struct
self
other
Point
self
other
Point