[][src]Struct rls_analysis::SymbolQuery

pub struct SymbolQuery { /* fields omitted */ }

SymbolQuery specifies the preficate for filtering symbols by name.

All matching is case-insensitive. Filtering by prefix or by subsequence is supported, subsequence being a good default choice.

As the number of results might be huge, consider the limit hint, which serves as approximate limit on the number of results returned.

To implement async streaming/pagination, use greater_than together with limit.

Methods

impl SymbolQuery[src]

pub fn subsequence(query_string: &str) -> SymbolQuery[src]

pub fn prefix(query_string: &str) -> SymbolQuery[src]

pub fn limit(self, limit: usize) -> SymbolQuery[src]

pub fn greater_than(self, greater_than: &str) -> SymbolQuery[src]

Trait Implementations

impl Debug for SymbolQuery[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]