rfcs icon indicating copy to clipboard operation
rfcs copied to clipboard

Add feature for getting ownership of immutable reference field without copy

Open dbsxdbsx opened this issue 2 years ago • 0 comments

Generally, it is impossible to get ownership of immutable reference from a method of a struct object. But sometimes, like I stated here, when it is confirmed that the struct object is no longer in used, then this feature would make getting value more efficiently.

dbsxdbsx avatar May 16 '22 01:05 dbsxdbsx