struct Greeting { }impl Greeting { fn say_goodby(self) { println!("Goodby!"); }}let greeting = Greeting{};greeting.say_goodby();