pub trait CompletionProviderImplExt: Sealed + ObjectSubclass {
// Provided methods
fn parent_activate(
&self,
context: &CompletionContext,
proposal: &CompletionProposal,
) { ... }
fn parent_title(&self) -> Option<GString> { ... }
fn parent_display(
&self,
context: &CompletionContext,
proposal: &CompletionProposal,
cell: &CompletionCell,
) { ... }
fn parent_priority(&self, context: &CompletionContext) -> i32 { ... }
fn parent_is_trigger(&self, iter: &TextIter, c: char) -> bool { ... }
fn parent_list_alternates(
&self,
context: &CompletionContext,
proposal: &CompletionProposal,
) -> Vec<CompletionProposal> { ... }
fn parent_refilter(&self, context: &CompletionContext, model: &ListModel) { ... }
fn parent_key_activates(
&self,
context: &CompletionContext,
proposal: &CompletionProposal,
keyval: Key,
state: ModifierType,
) -> bool { ... }
fn parnet_populate(
&self,
context: &CompletionContext,
) -> Result<ListModel, Error> { ... }
fn parent_populate_future(
&self,
context: &CompletionContext,
) -> Pin<Box<dyn Future<Output = Result<ListModel, Error>>>> { ... }
fn parent_pouplate_async<Q: IsA<Cancellable>, C: FnOnce(Result<ListModel, Error>) + 'static>(
&self,
context: &CompletionContext,
cancellable: Option<&Q>,
callback: C,
) { ... }
}
Provided Methods§
fn parent_activate( &self, context: &CompletionContext, proposal: &CompletionProposal, )
fn parent_title(&self) -> Option<GString>
fn parent_display( &self, context: &CompletionContext, proposal: &CompletionProposal, cell: &CompletionCell, )
fn parent_priority(&self, context: &CompletionContext) -> i32
fn parent_is_trigger(&self, iter: &TextIter, c: char) -> bool
fn parent_list_alternates( &self, context: &CompletionContext, proposal: &CompletionProposal, ) -> Vec<CompletionProposal>
fn parent_refilter(&self, context: &CompletionContext, model: &ListModel)
fn parent_key_activates( &self, context: &CompletionContext, proposal: &CompletionProposal, keyval: Key, state: ModifierType, ) -> bool
fn parnet_populate( &self, context: &CompletionContext, ) -> Result<ListModel, Error>
fn parent_populate_future( &self, context: &CompletionContext, ) -> Pin<Box<dyn Future<Output = Result<ListModel, Error>>>>
fn parent_pouplate_async<Q: IsA<Cancellable>, C: FnOnce(Result<ListModel, Error>) + 'static>( &self, context: &CompletionContext, cancellable: Option<&Q>, callback: C, )
Object Safety§
This trait is not object safe.