// Bound methods have identity equality. type Foo; impl Foo { fn method() {} } let foo = Foo(); let fooMethod = foo.method; // Same bound method. print fooMethod == fooMethod; // out: true // Different closurizations. print foo.method == foo.method; // out: false