Struct lsp_types::SemanticTokens [−][src]
@since 3.16.0
Fields
result_id: Option<String>An optional result id. If provided and clients support delta updating the client will include the result id in the next semantic token request. A server can then instead of computing all semantic tokens again simply send a delta.
data: Vec<SemanticToken>The actual tokens. For a detailed description about how the data is structured please see https://github.com/microsoft/vscode-extension-samples/blob/5ae1f7787122812dcc84e37427ca90af5ee09f14/semantic-tokens-sample/vscode.proposed.d.ts#L71
Trait Implementations
impl Clone for SemanticTokens[src]
fn clone(&self) -> SemanticTokens[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for SemanticTokens[src]
impl Default for SemanticTokens[src]
fn default() -> SemanticTokens[src]
impl<'de> Deserialize<'de> for SemanticTokens[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Eq for SemanticTokens[src]
impl From<SemanticTokens> for SemanticTokensResult[src]
fn from(from: SemanticTokens) -> Self[src]
impl From<SemanticTokens> for SemanticTokensFullDeltaResult[src]
fn from(from: SemanticTokens) -> Self[src]
impl From<SemanticTokens> for SemanticTokensRangeResult[src]
fn from(tokens: SemanticTokens) -> Self[src]
impl PartialEq<SemanticTokens> for SemanticTokens[src]
fn eq(&self, other: &SemanticTokens) -> bool[src]
fn ne(&self, other: &SemanticTokens) -> bool[src]
impl Serialize for SemanticTokens[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralEq for SemanticTokens[src]
impl StructuralPartialEq for SemanticTokens[src]
Auto Trait Implementations
impl RefUnwindSafe for SemanticTokens[src]
impl Send for SemanticTokens[src]
impl Sync for SemanticTokens[src]
impl Unpin for SemanticTokens[src]
impl UnwindSafe for SemanticTokens[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,