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
Source§fn clone(&self) -> ReconcileSplice
fn clone(&self) -> ReconcileSplice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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 Freeze 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