pub struct WorkspaceEdit {
pub changes: HashMap<DocumentUri, Vec<TextEdit>>,
}Expand description
A workspace edit represents changes to many resources managed in the workspace.
Fields§
§changes: HashMap<DocumentUri, Vec<TextEdit>>Holds changes to existing resources.
Trait Implementations§
Source§impl Debug for WorkspaceEdit
impl Debug for WorkspaceEdit
Source§impl Default for WorkspaceEdit
impl Default for WorkspaceEdit
Source§fn default() -> WorkspaceEdit
fn default() -> WorkspaceEdit
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorkspaceEdit
impl RefUnwindSafe for WorkspaceEdit
impl Send for WorkspaceEdit
impl Sync for WorkspaceEdit
impl Unpin for WorkspaceEdit
impl UnwindSafe for WorkspaceEdit
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