Poly4

public enum Poly4<A, B, C, D> : _Poly4
extension Poly4: CustomStringConvertible
extension Poly4: Encodable where A: Encodable, B: Encodable, C: Encodable, D: Encodable
extension Poly4: Decodable where A: Decodable, B: Decodable, C: Decodable, D: Decodable
extension Poly4: Equatable where A: Equatable, B: Equatable, C: Equatable, D: Equatable
extension Poly4: Hashable where A: Hashable, B: Hashable, C: Hashable, D: Hashable

See Poly for documentation

  • Undocumented

    Declaration

    Swift

    case a(A)
  • Undocumented

    Declaration

    Swift

    case b(B)
  • Undocumented

    Declaration

    Swift

    case c(C)
  • Undocumented

    Declaration

    Swift

    case d(D)
  • a

    Declaration

    Swift

    public var a: A? { get }
  • Undocumented

    Declaration

    Swift

    public init(_ a: A)
  • b

    Declaration

    Swift

    public var b: B? { get }
  • Undocumented

    Declaration

    Swift

    public init(_ b: B)
  • c

    Declaration

    Swift

    public var c: C? { get }
  • Undocumented

    Declaration

    Swift

    public init(_ c: C)
  • d

    Declaration

    Swift

    public var d: D? { get }
  • Undocumented

    Declaration

    Swift

    public init(_ d: D)
  • 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, B: Encodable, C: Encodable, D: Encodable

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws

Available where A: Decodable, B: Decodable, C: Decodable, D: Decodable

  • Declaration

    Swift

    public init(from decoder: Decoder) throws