[][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

impl Send for SymbolQuery

impl Sync for SymbolQuery

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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