pub struct PluginCatalog { /* private fields */ }Expand description
Plugin catalog
A read-only view of available plugins with filtering and search capabilities.
Implementations§
Source§impl PluginCatalog
impl PluginCatalog
Sourcepub fn from_registry(registry: &PluginRegistry) -> Self
pub fn from_registry(registry: &PluginRegistry) -> Self
Create a catalog from a registry
Sourcepub fn entries(&self) -> &[PluginRegistryEntry]
pub fn entries(&self) -> &[PluginRegistryEntry]
Get all entries
Sourcepub fn with_capability(self, capability: &str) -> Self
pub fn with_capability(self, capability: &str) -> Self
Filter by capability
Sourcepub fn sort_by_name(self) -> Self
pub fn sort_by_name(self) -> Self
Sort by name
Sourcepub fn sort_by_time(self) -> Self
pub fn sort_by_time(self) -> Self
Sort by registration time
Auto Trait Implementations§
impl Freeze for PluginCatalog
impl RefUnwindSafe for PluginCatalog
impl Send for PluginCatalog
impl Sync for PluginCatalog
impl Unpin for PluginCatalog
impl UnwindSafe for PluginCatalog
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