Poly1

public enum Poly1<A> : _Poly1
extension Poly1: CustomStringConvertible
extension Poly1: Encodable where A: Encodable
extension Poly1: Decodable where A: Decodable
extension Poly1: Equatable where A: Equatable
extension Poly1: Hashable where A: Hashable

See Poly for documentation

  • Undocumented

    Declaration

    Swift

    case a(A)
  • a

    Declaration

    Swift

    public var a: A? { get }
  • Undocumented

    Declaration

    Swift

    public init(_ a: A)
  • Declaration

    Swift

    public var value: Any { get }
  • Undocumented

    Declaration

    Swift

    public static var allTypes: [Any.Type] { get }
  • Declaration

    Swift

    public var description: String { get }

Available where A: Encodable

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws

Available where A: Decodable

  • Declaration

    Swift

    public init(from decoder: Decoder) throws