4 ms·
Generally most inherent methods are listed in the same file as the type. Trait implementations may bring in other methods and may be listed elsewhere, but C++
by Manishearth 9y ago
Generally most inherent methods are listed in the same file as the type.
Trait implementations may bring in other methods and may be listed elsewhere, but C++ doesn't help with this either (C++ doesn't have traits but there are common patterns that provide similar functionality)
Most folks use the autogenerated docs (cargo doc), which list all the methods. But also when reading code it's not hard to grep for impls.