This is just for sharing an idea I had for an improved trait to get items from an hlist. There is a full code below you can try on stable rust today even without specialization, but it's pretty impractical without specialization due to very limited scalability.
For context an hlist (see the hlist or frunk crates) is a heterogeneous list, and you can retrieve items from it "by type" using an appropriate trait (Find and Selector). But the trait needs an index I
in order to avoid overlapping trait implementations to work.
I want to be able to use the something like the Find and Selector traits, but without the index. Specifically, I have a use case where I want a public API with trait bo