StructTypes.jl icon indicating copy to clipboard operation
StructTypes.jl copied to clipboard

Add constructfrom! methods for certain InterfaceTypes

Open rapus95 opened this issue 4 years ago • 0 comments
trafficstars

something along the lines of the following would be nice

StructTypes.constructfrom!(::StructTypes.DictType, target::AbstractDict, source) = merge!(target, source)
StructTypes.constructfrom!(::StructTypes.ArrayType, target, source) = append!(target, source)

rapus95 avatar Jul 22 '21 00:07 rapus95