Julia Programming Language
Looking for type-stable way to update several struct fields from NamedTuple
General Usage
question
aplavin
April 18, 2025, 9:38am
4
Sounds like you want
setproperties(obj, nt)
from ConstructionBase.jl.
3 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Get fieldnames and values of `struct` as NamedTuple
General Usage
29
11406
November 26, 2018
Advice to make getfield(::NamedTuple, ::Symbol) typestable
Performance
19
1063
March 25, 2022
Copy of immutable with multiple fields changed
General Usage
question
3
961
October 10, 2019
Select multiple fields from a NamedTuple and create new NamedTuple
General Usage
question
7
1151
August 29, 2018
Named Tuple Constructor type unstable?
General Usage
7
1477
April 24, 2019