ExtendedPatch

public enum ExtendedPatch<Element>

Single step in a patch sequence.

  • insertion: A single patch step containing an insertion index and an element to be inserted
  • deletion: A single patch step containing a deletion index
  • move: A single patch step containing the origin and target of a move
  • A single patch step containing the origin and target of a move

    Declaration

    Swift

    case insertion(index: Int, element: Element)
  • A single patch step containing a deletion index

    Declaration

    Swift

    case deletion(index: Int)
  • A single patch step containing the origin and target of a move

    Declaration

    Swift

    case move(from: Int, to: Int)
  • Declaration

    Swift

    public var debugDescription: String { get }