pub struct FileEdit {
pub file: FileId,
pub edits: Vec<TextEdit>,
}Expand description
The edits to apply to one file (non-overlapping; the client sorts and applies them).
Fields§
§file: FileIdThe file the edits apply to.
edits: Vec<TextEdit>The edits within that file.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FileEdit
impl<'de> Deserialize<'de> for FileEdit
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
impl Eq for FileEdit
impl StructuralPartialEq for FileEdit
Auto Trait Implementations§
impl Freeze for FileEdit
impl RefUnwindSafe for FileEdit
impl Send for FileEdit
impl Sync for FileEdit
impl Unpin for FileEdit
impl UnsafeUnpin for FileEdit
impl UnwindSafe for FileEdit
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