Enum
public struct Enum
Represents an enum definition
-
Initializer
Declaration
Swift
@inlinable public init(name: String, cases: [MixableEnumCase])
Parameters
name
The name of the enum
cases
The 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]