Suppose we have trait Some_Trait and struct Car, what is the best way to jump to "impl Some_Trait for Car" ? (in the workspace, might be different crate).
The best I have so far is to do a workspace wide regex search with query
impl .* Some_Trait.* for .*Car
but I'm wondering if there is a better way.
Jumping to a trait is easy. Jumping to a struct/enum is easy, but jumping to a combination of the two -- as far as I can see so far, is a regex search (and hope it's on the same line) ?
I don't know any specialized way to jump specifically to the "impl T for X" location.
The way I usually do a similar thing is through the "🇮↓" gutter icon near the trait's definition - it shows a popup of all implementations (in other crates and all the dependencies too) to conveniently choose from: