原始型別 (Primitive Types) 原始型別是語言的基本建構區塊。 這些原始型別可以單獨使用,也可以用來建置更複雜的使用者定義型別,例如在 struct 中。 整數 (Integers) 布林值 (Bool) 地址 (Address) 向量 (Vector) 這些原始型別常與其他型別結合使用: 參考 (References) 元組與單元型別 (Tuples and Unit)