A Rust enumeration enum E { V1(...), V2 { ... }, V3 } lists its enum variants, each a name with its own fields, unnamed, named or none. A value of type E is built by one variant, E::V1(...), and records which.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Enumeration, enum variant?
又称: enumeration (Rust) · enum variant