RawRepresentableTransformer

public struct RawRepresentableTransformer<Type> : Transformer where Type : RawRepresentable

A Transformer that transforms RawRepresentable types.

  • Declaration

    Swift

    public typealias Output = Type.RawValue
  • An error thown when untransforming a value.

    See more

    Declaration

    Swift

    public enum UntransformError : LocalizedError
  • Declaration

    Swift

    public init()
  • Declaration

    Swift

    public func transformValue(_ value: Type) -> Type.RawValue
  • Declaration

    Swift

    public func untransformValue(_ rawValue: Type.RawValue) throws -> Type