pub struct InvalidatedRange {
pub start: usize,
pub end: usize,
}Expand description
A token range that becomes invalid after an edit.
Fields§
§start: usize§end: usizeImplementations§
Trait Implementations§
Source§impl Clone for InvalidatedRange
impl Clone for InvalidatedRange
Source§fn clone(&self) -> InvalidatedRange
fn clone(&self) -> InvalidatedRange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InvalidatedRange
impl Debug for InvalidatedRange
Source§impl PartialEq for InvalidatedRange
impl PartialEq for InvalidatedRange
impl Eq for InvalidatedRange
impl StructuralPartialEq for InvalidatedRange
Auto Trait Implementations§
impl Freeze for InvalidatedRange
impl RefUnwindSafe for InvalidatedRange
impl Send for InvalidatedRange
impl Sync for InvalidatedRange
impl Unpin for InvalidatedRange
impl UnsafeUnpin for InvalidatedRange
impl UnwindSafe for InvalidatedRange
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