pub struct Edit {
pub ops: Vec<Op>,
pub coarse: bool,
}Expand description
An edit script from the old to the new sequence.
Fields§
§ops: Vec<Op>Runs in order; together they cover both inputs exactly once.
coarse: boolThe cost cap was hit somewhere: the script is valid but may not be minimal.
Implementations§
Trait Implementations§
impl Eq for Edit
impl StructuralPartialEq for Edit
Auto Trait Implementations§
impl Forget for Edit
impl Freeze for Edit
impl Move for Edit
impl RefUnwindSafe for Edit
impl Send for Edit
impl Sync for Edit
impl Unpin for Edit
impl UnsafeUnpin for Edit
impl UnwindSafe for Edit
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