Maybe an unrelated answer, but it seems like you want to be able to do struct destructuring? You can do that with keyword arguments. See this discussion: https://discourse.julialang.org/t/unpacking-struct-properties/
Maybe an unrelated answer, but it seems like you want to be able to do struct destructuring? You can do that with keyword arguments. See this discussion: https://discourse.julialang.org/t/unpacking-struct-properties/