Documenting a struct with a large number of methods
⚓ Rust 📅 2026-02-21 👤 surdeus 👁️ 1I have been working on my implementation of a version of std::Vec, including unstable methods, which has a large number of methods ( I think nearly 80 ). I have a distant memory of being a little confused when I first learned Rust by the very long list of Vec methods, so I thought I would try and organise them somewhat make it easier to comprehend them. So I have settled on 4 implementation sections: Construct Basic Allocation Conversions.
What do you think about this? I think something similar would be an improvement to std::Vec.
1 post - 1 participant
🏷️ Rust_feed