pub struct SemanticTokensProvider;Expand description
Semantic tokens provider for LSP
This is a placeholder for future enhancement. Currently, semantic tokens
are generated using the functional collect_semantic_tokens API.
Implementations§
Source§impl SemanticTokensProvider
impl SemanticTokensProvider
Sourcepub fn new() -> SemanticTokensProvider
pub fn new() -> SemanticTokensProvider
Create a new semantic tokens provider
Trait Implementations§
Source§impl Default for SemanticTokensProvider
impl Default for SemanticTokensProvider
Source§fn default() -> SemanticTokensProvider
fn default() -> SemanticTokensProvider
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SemanticTokensProvider
impl RefUnwindSafe for SemanticTokensProvider
impl Send for SemanticTokensProvider
impl Sync for SemanticTokensProvider
impl Unpin for SemanticTokensProvider
impl UnsafeUnpin for SemanticTokensProvider
impl UnwindSafe for SemanticTokensProvider
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