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.
Fields§
§delta_line: u32
§delta_start: u32
§length: u32
§token_type: u32
§token_modifiers_bitset: u32
Trait Implementations§
source§impl Clone for SemanticToken
impl Clone for SemanticToken
source§fn clone(&self) -> SemanticToken
fn clone(&self) -> SemanticToken
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 SemanticToken
impl Debug for SemanticToken
source§impl Default for SemanticToken
impl Default for SemanticToken
source§fn default() -> SemanticToken
fn default() -> SemanticToken
Returns the “default value” for a type. Read more
source§impl PartialEq for SemanticToken
impl PartialEq for SemanticToken
impl Copy for SemanticToken
impl Eq for SemanticToken
impl StructuralPartialEq for SemanticToken
Auto Trait Implementations§
impl Freeze for SemanticToken
impl RefUnwindSafe for SemanticToken
impl Send for SemanticToken
impl Sync for SemanticToken
impl Unpin for SemanticToken
impl UnwindSafe for SemanticToken
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<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
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.