Define the `InteriorBorrow` trait
The InteriorBorrow
trait lets one create T
out of &T
, but the new value will contain references to the original value. This trait was previously discussed as AsBorrowed
, but IMHO InteriorBorrow
better reflects this trait's purpose.
Edited by Artem Starikov