pub struct CommandCatalog { /* private fields */ }Implementations§
Source§impl CommandCatalog
impl CommandCatalog
pub fn discover(cache_file: PathBuf) -> Self
pub fn matching(&self, prefix: &str, limit: usize) -> Vec<CommandMatch>
pub fn matching_options( &self, command: &str, prefix: &str, limit: usize, ) -> OptionMatches
pub fn inventory(&self) -> Vec<CommandMatch>
Trait Implementations§
Source§impl Debug for CommandCatalog
impl Debug for CommandCatalog
Auto Trait Implementations§
impl Freeze for CommandCatalog
impl RefUnwindSafe for CommandCatalog
impl Send for CommandCatalog
impl Sync for CommandCatalog
impl Unpin for CommandCatalog
impl UnsafeUnpin for CommandCatalog
impl UnwindSafe for CommandCatalog
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