Structurefwcd.swift-utils 4.6.2Utils
UnionStringEnum
UnionStringEnum.swift:2@dynamicMemberLookup struct UnionStringEnum<R, S> where R : StringEnum, S : StringEnum
@dynamicMemberLookup struct UnionStringEnum<R, S> where R : StringEnum, S : StringEnum
import Utils
protocol StringEnum : CaseIterable, Hashable
protocol CaseIterable
A type that provides a collection of all of its values.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
init?(rawValue: String)
static var allCases: [UnionStringEnum<R, S>] { get }
static subscript(dynamicMember rawValue: String) -> UnionStringEnum<R, S> { get }
let rawValue: String
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.