pub struct DeltaMergeUtils;Expand description
Utility features for merging inline deltas.
Implementations§
Source§impl DeltaMergeUtils
impl DeltaMergeUtils
Sourcepub fn merge_inline_deltas<F>(
delta_merge_info: &InlineDeltaMergeInfo<String>,
replace_equality: F,
) -> Vec<Delta<String>>
pub fn merge_inline_deltas<F>( delta_merge_info: &InlineDeltaMergeInfo<String>, replace_equality: F, ) -> Vec<Delta<String>>
Merges adjacent or close inline deltas if the intervening unchanged lines
satisfy the provided replace_equality predicate.
Auto Trait Implementations§
impl Freeze for DeltaMergeUtils
impl RefUnwindSafe for DeltaMergeUtils
impl Send for DeltaMergeUtils
impl Sync for DeltaMergeUtils
impl Unpin for DeltaMergeUtils
impl UnsafeUnpin for DeltaMergeUtils
impl UnwindSafe for DeltaMergeUtils
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