AllCases

A type that can represent a collection of all values of this type.

Required.

Declaration

associatedtype AllCases : Collection where Self == Self.AllCases.Element

See Also

Accessing Cases

static var allCases: Self.AllCases

A collection of all values of this type.

Required.