> Passing "self" as the first argument was bullshit in Python, and it's bullshit in Rust too. Don't look at me like that - the compiler can inject it as the first parameter without requiring you to type it in.
Nope, that would be a static function on your struct. By using self you let the compiler know that you want to use an instance function.
Nope, that would be a static function on your struct. By using self you let the compiler know that you want to use an instance function.