pub struct RegistryEntry {
pub spec: PickerSourceSpec,
pub generator: Option<Arc<dyn PickerSourceGenerator>>,
}Expand description
Registry entry: either metadata-only (slice 12 path, retained for tab-completion of source ids whose generator isn’t yet wired) or metadata + generator (the canonical slice 13 path – dispatch resolves the generator from here).
Metadata-only entries land while the App still owns the
imperative open_*_picker dispatch table; full
generator entries flow through the trait-driven path. As
each source migrates to a PickerSourceGenerator impl
the registry transitions from metadata-only to full.
Fields§
§spec: PickerSourceSpec§generator: Option<Arc<dyn PickerSourceGenerator>>Trait Implementations§
Source§impl Clone for RegistryEntry
impl Clone for RegistryEntry
Source§fn clone(&self) -> RegistryEntry
fn clone(&self) -> RegistryEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for RegistryEntry
impl !UnwindSafe for RegistryEntry
impl Freeze for RegistryEntry
impl Send for RegistryEntry
impl Sync for RegistryEntry
impl Unpin for RegistryEntry
impl UnsafeUnpin for RegistryEntry
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