pub trait CompletionProviderImpl: ObjectImpl {
    // Provided methods
    fn activate(
        &self,
        context: &CompletionContext,
        proposal: &CompletionProposal,
    ) { ... }
    fn display(
        &self,
        context: &CompletionContext,
        proposal: &CompletionProposal,
        cell: &CompletionCell,
    ) { ... }
    fn title(&self) -> Option<GString> { ... }
    fn priority(&self, context: &CompletionContext) -> i32 { ... }
    fn is_trigger(&self, iter: &TextIter, c: char) -> bool { ... }
    fn key_activates(
        &self,
        context: &CompletionContext,
        proposal: &CompletionProposal,
        keyval: Key,
        state: ModifierType,
    ) -> bool { ... }
    fn refilter(&self, context: &CompletionContext, model: &ListModel) { ... }
    fn list_alternates(
        &self,
        context: &CompletionContext,
        proposal: &CompletionProposal,
    ) -> Vec<CompletionProposal> { ... }
    fn populate(&self, context: &CompletionContext) -> Result<ListModel, Error> { ... }
    fn populate_future(
        &self,
        context: &CompletionContext,
    ) -> Pin<Box<dyn Future<Output = Result<ListModel, Error>>>> { ... }
}

Provided Methods§

source

fn activate(&self, context: &CompletionContext, proposal: &CompletionProposal)

source

fn display( &self, context: &CompletionContext, proposal: &CompletionProposal, cell: &CompletionCell, )

source

fn title(&self) -> Option<GString>

source

fn priority(&self, context: &CompletionContext) -> i32

source

fn is_trigger(&self, iter: &TextIter, c: char) -> bool

source

fn key_activates( &self, context: &CompletionContext, proposal: &CompletionProposal, keyval: Key, state: ModifierType, ) -> bool

source

fn refilter(&self, context: &CompletionContext, model: &ListModel)

source

fn list_alternates( &self, context: &CompletionContext, proposal: &CompletionProposal, ) -> Vec<CompletionProposal>

source

fn populate(&self, context: &CompletionContext) -> Result<ListModel, Error>

source

fn populate_future( &self, context: &CompletionContext, ) -> Pin<Box<dyn Future<Output = Result<ListModel, Error>>>>

Object Safety§

This trait is not object safe.

Implementors§