pub struct CodeActionEdit {
pub changes: Vec<TextEdit>,
}Expand description
Edit to apply for a code action
Contains the specific text changes needed to apply a code action.
Fields§
§changes: Vec<TextEdit>List of text edits to apply
Trait Implementations§
Source§impl Clone for CodeActionEdit
impl Clone for CodeActionEdit
Source§fn clone(&self) -> CodeActionEdit
fn clone(&self) -> CodeActionEdit
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 CodeActionEdit
impl RefUnwindSafe for CodeActionEdit
impl Send for CodeActionEdit
impl Sync for CodeActionEdit
impl Unpin for CodeActionEdit
impl UnsafeUnpin for CodeActionEdit
impl UnwindSafe for CodeActionEdit
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