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§impl Serialize for SemanticTokensDelta
impl Serialize for SemanticTokensDelta
impl Eq for SemanticTokensDelta
impl StructuralPartialEq for SemanticTokensDelta
Auto Trait Implementations§
impl Freeze for SemanticTokensDelta
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.