Trait sourceview5::HoverProviderExt[][src]

pub trait HoverProviderExt: 'static {
    fn populate_async<P: IsA<Cancellable>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
        &self,
        context: &HoverContext,
        display: &HoverDisplay,
        cancellable: Option<&P>,
        callback: Q
    );
fn populate_async_future(
        &self,
        context: &HoverContext,
        display: &HoverDisplay
    ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>; }

Trait containing all HoverProvider methods.

Implementors

HoverProvider

Required methods

fn populate_async<P: IsA<Cancellable>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
    &self,
    context: &HoverContext,
    display: &HoverDisplay,
    cancellable: Option<&P>,
    callback: Q
)
[src]

fn populate_async_future(
    &self,
    context: &HoverContext,
    display: &HoverDisplay
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
[src]

Loading content...

Implementors

impl<O: IsA<HoverProvider>> HoverProviderExt for O[src]

Loading content...