Closed entropylost closed 3 years ago
I know we discussed it on discord but I'll put it here for posterity. I would like to have a new GetRef
trait rather than changing the existing Get
trait. This prevents breaking old code as it's purely additive. I'm also not a huge fan of the name get_owned
.
Added
GetOwned
andForEachOwned
, which don't take a borrow, and madeGet
andForEach
take borrows.