Indirect

@dynamicMemberLookup
public indirect enum Indirect<Wrapped>
extension Indirect: Equatable where Wrapped: Equatable
extension Indirect: Hashable where Wrapped: Hashable
extension Indirect: Decodable where Wrapped: Decodable
extension Indirect: Encodable where Wrapped: Encodable

Undocumented

  • Case containing the structure’s wrapped value.

    Declaration

    Swift

    case indirect(Wrapped)

Available where Wrapped: Equatable

  • Declaration

    Swift

    public static func == (lhs: Indirect<Wrapped>, rhs: Indirect<Wrapped>) -> Bool

Available where Wrapped: Hashable

  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)

Available where Wrapped: Decodable

  • Declaration

    Swift

    public init(from decoder: Decoder) throws

Available where Wrapped: Encodable

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws