pub trait HoverProviderImplExt: Sealed + ObjectSubclass {
// Provided methods
fn parent_populate_async<P: FnOnce(Result<(), Error>) + 'static>(
&self,
context: &HoverContext,
display: &HoverDisplay,
cancellable: Option<&impl IsA<Cancellable>>,
callback: P,
) { ... }
fn parent_populate_future(
&self,
context: &HoverContext,
display: &HoverDisplay,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'static>> { ... }
}
Provided Methods§
fn parent_populate_async<P: FnOnce(Result<(), Error>) + 'static>( &self, context: &HoverContext, display: &HoverDisplay, cancellable: Option<&impl IsA<Cancellable>>, callback: P, )
fn parent_populate_future( &self, context: &HoverContext, display: &HoverDisplay, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'static>>
Object Safety§
This trait is not object safe.