RawValueEnum
public struct RawValueEnum<T>
Represents a Swift raw value enum definition
-
Creates a RawValueEnum instance which represents a Swift raw value enum definition
Declaration
Swift
@inlinable public init(name: String, cases: [RawValueEnumCase<T>])Parameters
nameThe name of this raw value enum
casesThe cases of this raw value enum
-
The name of the enum definition
Declaration
Swift
public let name: String -
The String representation of the raw value type of the enum
Declaration
Swift
public let typeDeescription: String -
The cases of the enum
Declaration
Swift
public let cases: [RawValueEnumCase<T>]
View on GitHub
Install in Dash
RawValueEnum Structure Reference