pub struct RefineToolInputs(/* private fields */);Expand description
Refinement functions by tool name.
Implementations§
Source§impl RefineToolInputs
impl RefineToolInputs
Sourcepub fn insert(
&mut self,
tool_name: impl Into<ToolName>,
refine: RefineToolInputFn,
)
pub fn insert( &mut self, tool_name: impl Into<ToolName>, refine: RefineToolInputFn, )
Registers refine for tool_name.
Sourcepub fn get(&self, tool_name: &str) -> Option<&RefineToolInputFn>
pub fn get(&self, tool_name: &str) -> Option<&RefineToolInputFn>
Looks up the function for tool_name.
Trait Implementations§
Source§impl Clone for RefineToolInputs
impl Clone for RefineToolInputs
Source§fn clone(&self) -> RefineToolInputs
fn clone(&self) -> RefineToolInputs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RefineToolInputs
impl Debug for RefineToolInputs
Source§impl Default for RefineToolInputs
impl Default for RefineToolInputs
Source§fn default() -> RefineToolInputs
fn default() -> RefineToolInputs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for RefineToolInputs
impl !UnwindSafe for RefineToolInputs
impl Freeze for RefineToolInputs
impl Send for RefineToolInputs
impl Sync for RefineToolInputs
impl Unpin for RefineToolInputs
impl UnsafeUnpin for RefineToolInputs
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