Struct tree_sitter_facade::InputEdit
source · [−]pub struct InputEdit { /* private fields */ }
Implementations
sourceimpl InputEdit
impl InputEdit
pub fn new(
start_byte: u32,
old_end_byte: u32,
new_end_byte: u32,
start_position: &Point,
old_end_position: &Point,
new_end_position: &Point
) -> Self
pub fn new_end_byte(&self) -> u32
pub fn new_end_position(&self) -> Point
pub fn old_end_byte(&self) -> u32
pub fn old_end_position(&self) -> Point
pub fn start_byte(&self) -> u32
pub fn start_position(&self) -> Point
Trait Implementations
impl Eq for InputEdit
impl StructuralEq for InputEdit
impl StructuralPartialEq for InputEdit
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more