Enum
public struct Enum
Represents an enum definition
-
Initializer
Declaration
Swift
@inlinable public init(name: String, cases: [MixableEnumCase])Parameters
nameThe name of the enum
casesThe cases of the enum
-
The name of the enum definition
Declaration
Swift
public let name: String -
The cases of the enum
Declaration
Swift
public let cases: [MixableEnumCase]
View on GitHub
Install in Dash
Enum Structure Reference