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
sourceimpl Clone for SemanticTokensDelta
impl Clone for SemanticTokensDelta
sourcefn clone(&self) -> SemanticTokensDelta
fn clone(&self) -> SemanticTokensDelta
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SemanticTokensDelta
impl Debug for SemanticTokensDelta
sourceimpl Default for SemanticTokensDelta
impl Default for SemanticTokensDelta
sourcefn default() -> SemanticTokensDelta
fn default() -> SemanticTokensDelta
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SemanticTokensDelta
impl<'de> Deserialize<'de> for SemanticTokensDelta
sourcefn 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
sourceimpl From<SemanticTokensDelta> for SemanticTokensFullDeltaResult
impl From<SemanticTokensDelta> for SemanticTokensFullDeltaResult
sourcefn from(from: SemanticTokensDelta) -> Self
fn from(from: SemanticTokensDelta) -> Self
Performs the conversion.
sourceimpl PartialEq<SemanticTokensDelta> for SemanticTokensDelta
impl PartialEq<SemanticTokensDelta> for SemanticTokensDelta
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &SemanticTokensDelta) -> bool
fn ne(&self, other: &SemanticTokensDelta) -> bool
This method tests for !=
.
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more