May 2019
Intermediate to advanced
698 pages
17h 21m
English
The borrowing rules also dictate how inherent methods on types are defined and also instance methods from traits. The following are how they receive the instance, presented by least restrictive to most restrictive:
In the case of user defined types, the same kind of borrowing applies also to its field members.
Read now
Unlock full access