pub struct ChangesetMulti {
pub diffs: Vec<Difference>,
pub splits: Vec<(usize, String)>,
pub edit_splits: Vec<(usize, String)>,
pub distance: i128,
}
Expand description
The information about a full changeset when regarding a multi split changeset
Fields§
§diffs: Vec<Difference>
An ordered vector of Difference
objects, corresponding
to the differences within the text
splits: Vec<(usize, String)>
The splits used when creating the Changeset
with their respective indexes in the origin string.
edit_splits: Vec<(usize, String)>
The splits used when creating the Changeset
with their respective indexes in the edit string.
distance: i128
The edit distance of the Changeset
Trait Implementations§
Source§impl Clone for ChangesetMulti
impl Clone for ChangesetMulti
Source§fn clone(&self) -> ChangesetMulti
fn clone(&self) -> ChangesetMulti
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChangesetMulti
impl Debug for ChangesetMulti
Source§impl Display for ChangesetMulti
impl Display for ChangesetMulti
Source§impl PartialEq for ChangesetMulti
impl PartialEq for ChangesetMulti
impl Eq for ChangesetMulti
impl StructuralPartialEq for ChangesetMulti
Auto Trait Implementations§
impl Freeze for ChangesetMulti
impl RefUnwindSafe for ChangesetMulti
impl Send for ChangesetMulti
impl Sync for ChangesetMulti
impl Unpin for ChangesetMulti
impl UnwindSafe for ChangesetMulti
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