Struct tree_sitter_facade::InputEdit [−][src]
pub struct InputEdit { /* fields omitted */ }
Implementations
impl InputEdit
[src]
impl InputEdit
[src]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
[src]
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
[src]
pub fn new_end_position(&self) -> Point
[src]
pub fn old_end_byte(&self) -> u32
[src]
pub fn old_end_position(&self) -> Point
[src]
pub fn start_byte(&self) -> u32
[src]
pub fn start_position(&self) -> Point
[src]
Trait Implementations
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