Poly5

public enum Poly5<A, B, C, D, E> : _Poly5
extension Poly5: CustomStringConvertible
extension Poly5: Encodable where A: Encodable, B: Encodable, C: Encodable, D: Encodable, E: Encodable
extension Poly5: Decodable where A: Decodable, B: Decodable, C: Decodable, D: Decodable, E: Decodable
extension Poly5: Equatable where A: Equatable, B: Equatable, C: Equatable, D: Equatable, E: Equatable
extension Poly5: Hashable where A: Hashable, B: Hashable, C: Hashable, D: Hashable, E: 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)
  • Undocumented

    Declaration

    Swift

    case e(E)
  • 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)
  • e

    Declaration

    Swift

    public var e: E? { get }
  • Undocumented

    Declaration

    Swift

    public init(_ e: E)
  • 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, E: Encodable

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws

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

  • Declaration

    Swift

    public init(from decoder: Decoder) throws