Struct ast_grep_core::source::Edit
source · pub struct Edit<S: Content> {
pub position: usize,
pub deleted_length: usize,
pub inserted_text: Vec<S::Underlying>,
}
Fields§
§position: usize
§deleted_length: usize
§inserted_text: Vec<S::Underlying>
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Edit<S>
impl<S> RefUnwindSafe for Edit<S>
impl<S> Send for Edit<S>
impl<S> Sync for Edit<S>
impl<S> Unpin for Edit<S>
impl<S> UnwindSafe for Edit<S>
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