Index

public protocol Index

Undocumented

  • Undocumented

    Declaration

    Swift

    associatedtype S
  • Undocumented

    Declaration

    Swift

    associatedtype I
  • Undocumented

    Declaration

    Swift

    associatedtype A
  • Undocumented

    Declaration

    Swift

    func index(_ i: I) -> Optional<S, A>
  • index(_:_:) Extension method

    Undocumented

    Declaration

    Swift

    static func index<Idx>(_ idx: Idx, _ i: I) -> Optional<S, A> where Idx : Index, Self.A == Idx.A, Self.I == Idx.I, Self.S == Idx.S
  • fromIso(_:_:) Extension method

    Undocumented

    Declaration

    Swift

    static func fromIso<Idx, B>(_ idx: Idx, _ iso: Iso<S, A>) -> IndexFromIso<S, I, B, A, Idx> where Idx : Index, B == Idx.A, Self.A == Idx.S, Self.I == Idx.I