Rust enum
C39532
concept
A Rust enum is a type that can represent one of several named variants, each optionally carrying associated data, enabling expressive and type-safe modeling of discrete choices.
All labels observed (1)
| Label | Occurrences |
|---|---|
| Rust enum canonical | 1 |
Description generation (CDg)
The one-sentence description above was generated by prompting gpt-5.1 with the class name and this instruction.
Instruction
generate a one-sentence description for a given conceptual class. # Response Format Return only the sentence: "Description: [one-sentence description of the conceptional class]"
Input
Class: Rust enum
Generated description
A Rust enum is a type that can represent one of several named variants, each optionally carrying associated data, enabling expressive and type-safe modeling of discrete choices.
Instances (1)
| Instance | Via concept surface |
|---|---|
|
std::cmp module
surface form:
Ordering
|
— |