pub struct LspTextEdit {
pub range: LspRange,
pub new_text: String,
}Expand description
LSP text edit.
Fields§
§range: LspRangeRange to replace.
new_text: StringNew text to insert.
Trait Implementations§
Source§impl Clone for LspTextEdit
impl Clone for LspTextEdit
Source§fn clone(&self) -> LspTextEdit
fn clone(&self) -> LspTextEdit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LspTextEdit
impl Debug for LspTextEdit
Source§impl<'de> Deserialize<'de> for LspTextEdit
impl<'de> Deserialize<'de> for LspTextEdit
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 LspTextEdit
Source§impl PartialEq for LspTextEdit
impl PartialEq for LspTextEdit
Source§fn eq(&self, other: &LspTextEdit) -> bool
fn eq(&self, other: &LspTextEdit) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LspTextEdit
impl Serialize for LspTextEdit
impl StructuralPartialEq for LspTextEdit
Auto Trait Implementations§
impl Freeze for LspTextEdit
impl RefUnwindSafe for LspTextEdit
impl Send for LspTextEdit
impl Sync for LspTextEdit
impl Unpin for LspTextEdit
impl UnsafeUnpin for LspTextEdit
impl UnwindSafe for LspTextEdit
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