Struct tree_sitter::InputEdit [−][src]
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
impl Copy for InputEdit
[src]
impl Eq for InputEdit
[src]
impl StructuralEq for InputEdit
[src]
impl StructuralPartialEq for InputEdit
[src]
Auto Trait Implementations
impl RefUnwindSafe for InputEdit
impl Send for InputEdit
impl Sync for InputEdit
impl Unpin for InputEdit
impl UnwindSafe for InputEdit
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more