pub struct ReconcileSplice {
pub start: usize,
pub old_end: usize,
pub new_end: usize,
}Expand description
Character-boundary-safe replacement bounds returned by compute_reconcile_splice.
Fields§
§start: usizeFirst differing byte, shared by both texts.
old_end: usizeEnd of the replaced range in the rope.
new_end: usizeEnd of the replacement slice in the new text.
Trait Implementations§
Source§impl Clone for ReconcileSplice
impl Clone for ReconcileSplice
impl Copy for ReconcileSplice
Source§impl Debug for ReconcileSplice
impl Debug for ReconcileSplice
impl Eq for ReconcileSplice
Source§impl PartialEq for ReconcileSplice
impl PartialEq for ReconcileSplice
impl StructuralPartialEq for ReconcileSplice
Auto Trait Implementations§
impl Forget for ReconcileSplice
impl Freeze for ReconcileSplice
impl Move for ReconcileSplice
impl RefUnwindSafe for ReconcileSplice
impl Send for ReconcileSplice
impl Sync for ReconcileSplice
impl Unpin for ReconcileSplice
impl UnsafeUnpin for ReconcileSplice
impl UnwindSafe for ReconcileSplice
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