pub struct TextEdit {
pub start: (usize, usize),
pub end: (usize, usize),
pub new_text: String,
}Expand description
Text edit for auto-fix
Fields§
§start: (usize, usize)Start position (line, column, both 1-based)
end: (usize, usize)End position
new_text: StringReplacement text
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextEdit
impl RefUnwindSafe for TextEdit
impl Send for TextEdit
impl Sync for TextEdit
impl Unpin for TextEdit
impl UnsafeUnpin for TextEdit
impl UnwindSafe for TextEdit
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