Structure
ValidatorResults.Case
ValidatorResult of a validator that validates whether the data can be represented as a specific Enum case.struct Case<T, E> where T : CustomStringConvertible, T : Sendable, T == E.RawValue, E : CaseIterable, E : RawRepresentable, E : SendableMetatype
Topics
Instance Properties
enumTypeThe type of the enum to check.rawValueThe raw value that would be tested against the enum type.
Default Implementations
Relationships
Conforms To
Swift.CopyableSwift.EscapableSwift.SendableSwift.SendableMetatypeValidatorResult