pub struct StaticCatalog { /* private fields */ }Expand description
静态工具目录 — 构建后不可变的工具集合。
Implementations§
Source§impl StaticCatalog
impl StaticCatalog
Sourcepub fn from_tools(tools: Vec<ExecutableTool>) -> Self
pub fn from_tools(tools: Vec<ExecutableTool>) -> Self
从工具注册列表构建静态目录。
Trait Implementations§
Source§impl ToolCatalog for StaticCatalog
impl ToolCatalog for StaticCatalog
Auto Trait Implementations§
impl !RefUnwindSafe for StaticCatalog
impl !UnwindSafe for StaticCatalog
impl Freeze for StaticCatalog
impl Send for StaticCatalog
impl Sync for StaticCatalog
impl Unpin for StaticCatalog
impl UnsafeUnpin for StaticCatalog
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