Patch

public enum Patch<Element>

Single step in a patch sequence.

  • A single patch step containing an insertion index and an element to be inserted

    Declaration

    Swift

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

    Declaration

    Swift

    case deletion(index: Int)
  • Declaration

    Swift

    public var debugDescription: String { get }