fn a() {} fn b() {} mod foo { fn a() {} fn b() {} } struct Foo; impl Foo { fn a() {} fn b() {} } trait Bar { fn a(); fn b(); }