Struct tree_sitter_c2rust::InputEdit
source · 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<'a> Into<TSInputEdit> for &'a InputEdit
impl<'a> Into<TSInputEdit> for &'a InputEdit
source§fn into(self) -> TSInputEdit
fn into(self) -> TSInputEdit
Converts this type into the (usually inferred) input type.