comline/core/proposals/enum_variant_associated_kind.ids

8 lines
292 B
Plaintext
Raw Permalink Normal View History

2023-08-28 14:09:31 -05:00
// TODO: Variants with fields need more thought to see if they can be implemented in languages
// TODO: that may not do it well, or at all
enum EncryptionMode {
None
// TODO: The »EncryptionAlgorithm« would be the kind for the »Encrypt« variant
Encrypt(EncryptionAlgorithm)
}