rustdoc
rustdoc copied to clipboard
Think about sorting trait/impl methods
As mentioned at RustFest, it would be nice if impl with lots of methods would be more organized. One way to do this would be to (make it possible to) sort by usage of self, so:
-
self-less methods (like constructors, class/static methods) -
&selfmethods (like getters) -
&mut selfmethods (like setters) -
selfmethods (methods taking over ownership)
I think this would be particularly useful if you kind of know what you want to do, but don't know the exact name for what you're looking for.