pub struct DefaultFeatureProvider;Implementations§
Trait Implementations§
Source§impl Default for DefaultFeatureProvider
impl Default for DefaultFeatureProvider
Source§fn default() -> DefaultFeatureProvider
fn default() -> DefaultFeatureProvider
Returns the “default value” for a type. Read more
Source§impl FeatureProvider for DefaultFeatureProvider
impl FeatureProvider for DefaultFeatureProvider
fn semantic_tokens(&self, document: &Document) -> Vec<LexSemanticToken>
fn document_symbols(&self, document: &Document) -> Vec<LexDocumentSymbol>
fn folding_ranges(&self, document: &Document) -> Vec<LexFoldingRange>
fn hover( &self, document: &Document, position: AstPosition, ) -> Option<HoverResult>
fn goto_definition( &self, document: &Document, position: AstPosition, ) -> Vec<AstRange>
fn references( &self, document: &Document, position: AstPosition, include_declaration: bool, ) -> Vec<AstRange>
fn document_links(&self, document: &Document) -> Vec<AstDocumentLink>
fn format_document( &self, document: &Document, source: &str, rules: Option<FormattingRules>, ) -> Vec<TextEditSpan>
fn format_range( &self, document: &Document, source: &str, range: FormattingLineRange, rules: Option<FormattingRules>, ) -> Vec<TextEditSpan>
fn completion( &self, document: &Document, position: AstPosition, current_line: Option<&str>, workspace: Option<&CompletionWorkspace>, trigger_char: Option<&str>, ) -> Vec<CompletionCandidate>
fn execute_command( &self, command: &str, arguments: &[Value], ) -> Result<Option<Value>>
Auto Trait Implementations§
impl Freeze for DefaultFeatureProvider
impl RefUnwindSafe for DefaultFeatureProvider
impl Send for DefaultFeatureProvider
impl Sync for DefaultFeatureProvider
impl Unpin for DefaultFeatureProvider
impl UnsafeUnpin for DefaultFeatureProvider
impl UnwindSafe for DefaultFeatureProvider
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more