you can probably do it changing the constructor to...
# getting-started
m
you can probably do it changing the constructor to something like
Vec2t(in Vec2t<T>) where T : Number
or something like that