pub struct Catalog { /* private fields */ }Expand description
The tools and directories the planner knows.
Implementations§
Source§impl Catalog
impl Catalog
Sourcepub const fn empty() -> Self
pub const fn empty() -> Self
An empty catalog, for a program that wants none of the built-in entries.
Sourcepub fn add_dir(&mut self, dir: SkillDir) -> Result<&mut Self, CatalogError>
pub fn add_dir(&mut self, dir: SkillDir) -> Result<&mut Self, CatalogError>
Trait Implementations§
impl Eq for Catalog
impl StructuralPartialEq for Catalog
Auto Trait Implementations§
impl Freeze for Catalog
impl RefUnwindSafe for Catalog
impl Send for Catalog
impl Sync for Catalog
impl Unpin for Catalog
impl UnsafeUnpin for Catalog
impl UnwindSafe for Catalog
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