Skip to main content

Module delta

Module delta 

Expand description

A data structure for representing editing operations on ropes. It’s useful to explicitly represent these operations so they can be shared across multiple subsystems.

Structs§

Builder
A builder for creating new Delta objects.
DeletionsIter
Delta
Represents changes to a document by describing the new document as a sequence of sections copied from the old document and of new inserted text. Deletions are represented by gaps in the ranges copied from the old document.
DeltaRegion
InsertDelta
A struct marking that a Delta contains only insertions. That is, it copies all of the old document in the same order. It has a Deref impl so all normal Delta methods can also be used on it.
InsertsIter
Transformer
A mapping from coordinates in the source sequence to coordinates in the sequence after the delta is applied.

Enums§

DeltaElement