Struct lsp_types::SemanticTokensDelta
source · pub struct SemanticTokensDelta {
pub result_id: Option<String>,
pub edits: Vec<SemanticTokensEdit>,
}
Expand description
@since 3.16.0
Fields§
§result_id: Option<String>
§edits: Vec<SemanticTokensEdit>
For a detailed description how these edits are structured please see https://github.com/microsoft/vscode-extension-samples/blob/5ae1f7787122812dcc84e37427ca90af5ee09f14/semantic-tokens-sample/vscode.proposed.d.ts#L131
Trait Implementations§
source§impl Clone for SemanticTokensDelta
impl Clone for SemanticTokensDelta
source§fn clone(&self) -> SemanticTokensDelta
fn clone(&self) -> SemanticTokensDelta
Returns a copy 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 SemanticTokensDelta
impl Debug for SemanticTokensDelta
source§impl Default for SemanticTokensDelta
impl Default for SemanticTokensDelta
source§fn default() -> SemanticTokensDelta
fn default() -> SemanticTokensDelta
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SemanticTokensDelta
impl<'de> Deserialize<'de> for SemanticTokensDelta
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
source§impl From<SemanticTokensDelta> for SemanticTokensFullDeltaResult
impl From<SemanticTokensDelta> for SemanticTokensFullDeltaResult
source§fn from(from: SemanticTokensDelta) -> Self
fn from(from: SemanticTokensDelta) -> Self
Converts to this type from the input type.
source§impl PartialEq for SemanticTokensDelta
impl PartialEq for SemanticTokensDelta
source§fn eq(&self, other: &SemanticTokensDelta) -> bool
fn eq(&self, other: &SemanticTokensDelta) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SemanticTokensDelta
impl Serialize for SemanticTokensDelta
impl Eq for SemanticTokensDelta
impl StructuralEq for SemanticTokensDelta
impl StructuralPartialEq for SemanticTokensDelta
Auto Trait Implementations§
impl RefUnwindSafe for SemanticTokensDelta
impl Send for SemanticTokensDelta
impl Sync for SemanticTokensDelta
impl Unpin for SemanticTokensDelta
impl UnwindSafe for SemanticTokensDelta
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.