trait Foo { fn bar(&self) // where // Self: Bar ; } trait Foo { fn bar(&self) // where // Self: Bar ; } trait Foo { fn bar(&self) // where // Self: Bar ; }