struct Foo { func bar() { print("From original bar()") } } Foo().bar()