pub struct Landed {
pub inserted: Range<usize>,
pub replaced: Range<usize>,
}Expand description
Where a write landed, in the document’s character offsets.
Fields§
§inserted: Range<usize>The range the new text occupies.
replaced: Range<usize>The range it replaced, before the write.
Trait Implementations§
impl Eq for Landed
impl StructuralPartialEq for Landed
Auto Trait Implementations§
impl Freeze for Landed
impl RefUnwindSafe for Landed
impl Send for Landed
impl Sync for Landed
impl Unpin for Landed
impl UnsafeUnpin for Landed
impl UnwindSafe for Landed
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