pub struct HelpPicker { /* private fields */ }Expand description
Picker for help tags
Implementations§
Source§impl HelpPicker
impl HelpPicker
Trait Implementations§
Source§impl Default for HelpPicker
impl Default for HelpPicker
Source§impl Picker for HelpPicker
impl Picker for HelpPicker
Source§fn fetch(
&self,
_ctx: &PickerContext,
) -> Pin<Box<dyn Future<Output = Vec<MicroscopeItem>> + Send + '_>>
fn fetch( &self, _ctx: &PickerContext, ) -> Pin<Box<dyn Future<Output = Vec<MicroscopeItem>> + Send + '_>>
Fetch items asynchronously
Source§fn on_select(&self, item: &MicroscopeItem) -> MicroscopeAction
fn on_select(&self, item: &MicroscopeItem) -> MicroscopeAction
Handle selection of an item
Source§fn preview(
&self,
item: &MicroscopeItem,
_ctx: &PickerContext,
) -> Pin<Box<dyn Future<Output = Option<PreviewContent>> + Send + '_>>
fn preview( &self, item: &MicroscopeItem, _ctx: &PickerContext, ) -> Pin<Box<dyn Future<Output = Option<PreviewContent>> + Send + '_>>
Optional: preview content for the selected item
Source§fn supports_live_filter(&self) -> bool
fn supports_live_filter(&self) -> bool
Whether this picker supports live filtering vs full re-fetch
If true, the picker only needs to fetch once and nucleo handles filtering
If false, the picker needs to re-fetch on each query change (e.g., live grep)
Auto Trait Implementations§
impl Freeze for HelpPicker
impl RefUnwindSafe for HelpPicker
impl Send for HelpPicker
impl Sync for HelpPicker
impl Unpin for HelpPicker
impl UnwindSafe for HelpPicker
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more