Struct lsp_types::SemanticToken
source · [−]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: u32
delta_start: u32
length: u32
token_type: u32
token_modifiers_bitset: u32
Trait Implementations
sourceimpl Clone for SemanticToken
impl Clone for SemanticToken
sourcefn clone(&self) -> SemanticToken
fn clone(&self) -> SemanticToken
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 moresourceimpl Debug for SemanticToken
impl Debug for SemanticToken
sourceimpl Default for SemanticToken
impl Default for SemanticToken
sourcefn default() -> SemanticToken
fn default() -> SemanticToken
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SemanticToken> for SemanticToken
impl PartialEq<SemanticToken> for SemanticToken
sourcefn eq(&self, other: &SemanticToken) -> bool
fn eq(&self, other: &SemanticToken) -> bool
impl Copy for SemanticToken
impl Eq for SemanticToken
impl StructuralEq for SemanticToken
impl StructuralPartialEq for SemanticToken
Auto Trait Implementations
impl RefUnwindSafe for SemanticToken
impl Send for SemanticToken
impl Sync for SemanticToken
impl Unpin for SemanticToken
impl UnwindSafe for SemanticToken
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more