comline/core/proposals/enum_variant_associated_kind.ids
2023-08-28 20:09:31 +01:00

8 lines
292 B
Plaintext

// 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)
}