pub struct WorkspaceEdit {
pub changes: HashMap<String, Vec<TextEdit>>,
}Expand description
Represents a change to the workspace.
Fields§
§changes: HashMap<String, Vec<TextEdit>>The changes to the workspace.
Trait Implementations§
Source§impl Clone for WorkspaceEdit
impl Clone for WorkspaceEdit
Source§fn clone(&self) -> WorkspaceEdit
fn clone(&self) -> WorkspaceEdit
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 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
Source§impl<'de> Deserialize<'de> for WorkspaceEdit
impl<'de> Deserialize<'de> for WorkspaceEdit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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