pub struct TextEditAction {
pub start_line: usize,
pub start_col: usize,
pub end_line: usize,
pub end_col: usize,
pub new_text: String,
}Expand description
A single text edit for a code action.
Fields§
§start_line: usize§start_col: usize§end_line: usize§end_col: usize§new_text: StringTrait Implementations§
Source§impl Clone for TextEditAction
impl Clone for TextEditAction
Source§fn clone(&self) -> TextEditAction
fn clone(&self) -> TextEditAction
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 moreAuto Trait Implementations§
impl Freeze for TextEditAction
impl RefUnwindSafe for TextEditAction
impl Send for TextEditAction
impl Sync for TextEditAction
impl Unpin for TextEditAction
impl UnsafeUnpin for TextEditAction
impl UnwindSafe for TextEditAction
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