Struct lsp_types::SemanticToken [−][src]
pub struct SemanticToken {
pub delta_line: u32,
pub delta_start: u32,
pub length: u32,
pub token_type: u32,
pub token_modifiers_bitset: u32,
}Expand description
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
Fields
delta_line: u32delta_start: u32length: u32token_type: u32token_modifiers_bitset: u32Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SemanticTokenimpl Send for SemanticTokenimpl Sync for SemanticTokenimpl Unpin for SemanticTokenimpl UnwindSafe for SemanticTokenBlanket Implementations
Mutably borrows from an owned value. Read more