Zero() and iszero() for mutable structs

iszero(x::Line) compares x == zero(::Line) with == defaults to ===, so really you need to define == to actually compare fields value

3 Likes