Is there a reason why the Borrow trait is not implemented for Pin<T> types?
Let's say I want to store Pin<Box<str>> objects in the BTreeSet and look up by the &str reference. With the current API, I'm obliged to create a new Pin<Box<str>> by allocating a copy of the string on the heap only to pass a reference to it to the BTreeSet::get method. Is there a way to perform the lookup in this case without allocating new memory?