pub struct ToolDef {
pub name: String,
pub params: Vec<ParamDef>,
pub body: Vec<Stmt>,
}Expand description
User-defined tool.
Fields§
§name: String§params: Vec<ParamDef>§body: Vec<Stmt>Trait Implementations§
impl StructuralPartialEq for ToolDef
Auto Trait Implementations§
impl Freeze for ToolDef
impl RefUnwindSafe for ToolDef
impl Send for ToolDef
impl Sync for ToolDef
impl Unpin for ToolDef
impl UnwindSafe for ToolDef
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