It looks ==
doesn’t work here, even if all the fields of the struct values can be compared with ==
.
Must I define a equal
method for the struct type?
It looks ==
doesn’t work here, even if all the fields of the struct values can be compared with ==
.
Must I define a equal
method for the struct type?
Have you looked at std.meta.eql
?
Thanks! That is what I need.