Fwiw some people feel that struct properties should be considered private and shouldn’t be publicly documented, preferring accessor functions instead.
jzr
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Documenting a struct | 2 | 857 | November 26, 2023 | |
| How to document struct fields programmatically | 0 | 242 | November 10, 2022 | |
| Strings between fields in struct: Why a valid code | 4 | 262 | March 19, 2024 | |
| Documented `const` fields of a `mutable struct` does not show up in documentation | 2 | 129 | February 19, 2026 | |
| Accessing docstring of a field | 7 | 1473 | March 2, 2023 |