Poly2
public enum Poly2<A, B> : _Poly2
extension Poly2: CustomStringConvertible
extension Poly2: Encodable where A: Encodable, B: Encodable
extension Poly2: Decodable where A: Decodable, B: Decodable
extension Poly2: Equatable where A: Equatable, B: Equatable
extension Poly2: Hashable where A: Hashable, B: Hashable
See Poly
for documentation
-
Undocumented
Declaration
Swift
case a(A)
-
Undocumented
Declaration
Swift
case b(B)
-
Declaration
Swift
public var a: A? { get }
-
Undocumented
Declaration
Swift
public init(_ a: A)
-
Declaration
Swift
public var b: B? { get }
-
Undocumented
Declaration
Swift
public init(_ b: B)
-
Declaration
Swift
public var value: Any { get }
-
Undocumented
Declaration
Swift
public static var allTypes: [Any.Type] { get }
-
Declaration
Swift
public var description: String { get }
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Declaration
Swift
public init(from decoder: Decoder) throws