pub struct ChangeSetBuilder { /* private fields */ }Expand description
Builds a ChangeSet in canonical form.
Canonical means: no zero-length or adjacent same-kind operations, and Delete always
precedes Insert at a replacement site. Both orderings describe the same edit, but
fixing one keeps ChangeSet::compose and ChangeSet::map_pos free of
order-dependent special cases.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChangeSetBuilder
impl RefUnwindSafe for ChangeSetBuilder
impl Send for ChangeSetBuilder
impl Sync for ChangeSetBuilder
impl Unpin for ChangeSetBuilder
impl UnsafeUnpin for ChangeSetBuilder
impl UnwindSafe for ChangeSetBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more