pub struct Tools(pub Vec<Tool>);
Available on crate feature
api
only.Expand description
The configurations of all tools to run in addition to the default tool
Tuple Fields§
§0: Vec<Tool>
Implementations§
Source§impl Tools
impl Tools
Sourcepub fn update_all<T>(&mut self, tools: T)where
T: IntoIterator<Item = Tool>,
pub fn update_all<T>(&mut self, tools: T)where
T: IntoIterator<Item = Tool>,
Update Tools
with all Tool
s from an iterator
Sourcepub fn update_from_other(&mut self, tools: &Self)
pub fn update_from_other(&mut self, tools: &Self)
Update Tools
with another Tools
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tools
impl<'de> Deserialize<'de> for Tools
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Tools
Auto Trait Implementations§
impl Freeze for Tools
impl RefUnwindSafe for Tools
impl Send for Tools
impl Sync for Tools
impl Unpin for Tools
impl UnwindSafe for Tools
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more