struct Foo(); impl Foo { fn bar(&mut self) {} fn baz(&self) {} } fn main() { let `(mut x)` = Foo {}; x.bar(); x.baz(); }