fn main() { println!("Hello, world!"); } fn add(a: i32, b: i32) -> i32 { a + b } struct Point { x: f64, y: f64, } enum Direction { Up, Down, Left, Right, } trait Describe { fn describe(&self) -> String; } impl Describe for Point { fn describe(&self) -> String { format!("Point at ({}, {})", self.x, self.y) } } const MAX_POINTS: u32 = 100;