Bycopy编译指示

bycopy 编译指示可以应用于对象或元组类型,并指示编译器按类型将类型传递给过程:

  1. type
  2. Vector {.bycopy.} = object
  3. x, y, z: float