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.

Instances (1)

Instance Via concept surface
std::cmp module
surface form: Ordering