附錄I-術語表
- ADT(Algebraic Data Type:代數數據類型):
- ARC(Atomic Reference Counting:原子引用計數):
- associated function(關聯函數):
- associated type(關聯類型): Trait 裡面可以有關聯類型
- AST(Abstract Syntax Tree:抽象語法樹):
- benchmark(基準測試):
- bitwise copy:
- borrow(借用):
- bounds(約束):
- box:
- byte string():
- cargo:
- cast:
- channel:
- coercion:
- constructor(構造器):
- consumer:
- copy:
- crate:
- dangling pointer:
- deref(解引用):
- derive:
- designator(指示符):
- destructor():
- destructure(析構):
- diverging function(發散函數):
- drop:
- DST(Dynamically Sized Type):
- dynamic dispatch(動態分發):
- enum():
- feature gate(特性開關): nightly 版本中有特性開關可以啟用一些實驗性質的特性
- FFI(Foreign Function Interface:外部函數接口):
- guard:
- hygiene:
- inline function(內聯函數):
- item:
- iterator(迭代器):
- iterator adaptor(迭代器適配器):
- lifetime(生命週期):
- lifetime elision:
- literal string():
- macro by example:
- memberwise copy:
- module(模塊)
- move:
- option:
- ownership(所有權):
- panic(崩潰):
- phantom type:
- primitive type(基本類型): 整型、浮點、布爾等基本類型
- procedural macro:
- RAII():
- raw string:
- raw pointer:
- RC(Reference Counting:引用計數)
- result:
- shadowing:
- static dispatch(靜態分發):
- slice(切片): 某種數據類型的視圖,例如 string, vector
- statement(): 與 expression 相區別
- trait:
- trait object:
- tuple(元組):
- UFCS(Universal Function Call Syntax)
- unit():
- unwind:
- unwrap():
- wrap: