pub struct InputEdit {
pub start_byte: usize,
pub old_end_byte: usize,
pub new_end_byte: usize,
pub start_position: Point,
pub old_end_position: Point,
pub new_end_position: Point,
}
Expand description
A summary of a change to a text document.
Fields§
§start_byte: usize
§old_end_byte: usize
§new_end_byte: usize
§start_position: Point
§old_end_position: Point
§new_end_position: Point
Trait Implementations§
Source§impl From<&InputEdit> for TSInputEdit
impl From<&InputEdit> for TSInputEdit
impl Copy for InputEdit
impl Eq for InputEdit
impl StructuralPartialEq for InputEdit
Auto Trait Implementations§
impl Freeze for InputEdit
impl RefUnwindSafe for InputEdit
impl Send for InputEdit
impl Sync for InputEdit
impl Unpin for InputEdit
impl UnwindSafe for InputEdit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)