pub struct TextDocumentContentChangePartial {
pub range: Range,
pub text: String,
}Expand description
@since 3.18.0
Fields§
§range: RangeThe range of the document that changed.
text: StringThe new text for the provided range.
Trait Implementations§
Source§impl Clone for TextDocumentContentChangePartial
impl Clone for TextDocumentContentChangePartial
Source§fn clone(&self) -> TextDocumentContentChangePartial
fn clone(&self) -> TextDocumentContentChangePartial
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 Default for TextDocumentContentChangePartial
impl Default for TextDocumentContentChangePartial
Source§fn default() -> TextDocumentContentChangePartial
fn default() -> TextDocumentContentChangePartial
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextDocumentContentChangePartial
impl<'de> Deserialize<'de> for TextDocumentContentChangePartial
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 TextDocumentContentChangePartial
Source§impl From<TextDocumentContentChangePartial> for TextDocumentContentChangeEvent
impl From<TextDocumentContentChangePartial> for TextDocumentContentChangeEvent
Source§fn from(value: TextDocumentContentChangePartial) -> Self
fn from(value: TextDocumentContentChangePartial) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for TextDocumentContentChangePartial
Auto Trait Implementations§
impl Freeze for TextDocumentContentChangePartial
impl RefUnwindSafe for TextDocumentContentChangePartial
impl Send for TextDocumentContentChangePartial
impl Sync for TextDocumentContentChangePartial
impl Unpin for TextDocumentContentChangePartial
impl UnsafeUnpin for TextDocumentContentChangePartial
impl UnwindSafe for TextDocumentContentChangePartial
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