Struct deno_ast::TextChange
source · Fields
range: Range<usize>
Range start to end byte index.
new_text: String
New text to insert or replace at the provided range.
Implementations
Trait Implementations
sourceimpl Clone for TextChange
impl Clone for TextChange
sourcefn clone(&self) -> TextChange
fn clone(&self) -> TextChange
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for TextChange
impl Send for TextChange
impl Sync for TextChange
impl Unpin for TextChange
impl UnwindSafe for TextChange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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