What does @kwdef do?

With Julia 1.9 , Base.@kwdef will be exported, so it is part of the official API, see julia/NEWS.md at v1.9.0-beta3 · JuliaLang/julia · GitHub

7 Likes