I'm trying to look up an element from a HashSet<Box<T>> given a &Q where T: Borrow<Q>. If I had a HashSet<T> I could use get with no problem. But just putting the T in a Box seems to make this impossible.
As you can guess, there are more constraints, and I'm trying to enable an interface somewhat like that of HashSet::get. I could change the pointer type that is in the HashSet, but can't put the T in there directly, because I need the location of the value in memory to be stable. This is for an improvement to my internment crate.