pub enum Tool {
Show 25 variants
Assert(Vec<Expression>),
AssertEqual(Vec<Expression>),
Help(Option<Expression>),
Length(Expression),
Output(Vec<Expression>),
OutputError(Vec<Expression>),
Type(Expression),
Append(Vec<Expression>),
Metadata(Expression),
Move(Vec<Expression>),
Read(Expression),
Remove(Expression),
Write(Vec<Expression>),
FromJson(Expression),
ToJson(Expression),
ToString(Expression),
Bash(Vec<Expression>),
Fish(Vec<Expression>),
Raw(Vec<Expression>),
Sh(Vec<Expression>),
Zsh(Vec<Expression>),
Random(Vec<Expression>),
RandomBoolean,
RandomInteger,
RandomFloat,
}Variants§
Assert(Vec<Expression>)
AssertEqual(Vec<Expression>)
Help(Option<Expression>)
Length(Expression)
Output(Vec<Expression>)
OutputError(Vec<Expression>)
Type(Expression)
Append(Vec<Expression>)
Metadata(Expression)
Move(Vec<Expression>)
Read(Expression)
Remove(Expression)
Write(Vec<Expression>)
FromJson(Expression)
ToJson(Expression)
ToString(Expression)
Bash(Vec<Expression>)
Fish(Vec<Expression>)
Raw(Vec<Expression>)
Sh(Vec<Expression>)
Zsh(Vec<Expression>)
Random(Vec<Expression>)
RandomBoolean
RandomInteger
RandomFloat
Trait Implementations§
source§impl AbstractTree for Tool
impl AbstractTree for Tool
source§impl<'de> Deserialize<'de> for Tool
impl<'de> Deserialize<'de> for Tool
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
source§impl Ord for Tool
impl Ord for Tool
source§impl PartialEq for Tool
impl PartialEq for Tool
source§impl PartialOrd for Tool
impl PartialOrd for Tool
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for Tool
impl StructuralEq for Tool
impl StructuralPartialEq for Tool
Auto Trait Implementations§
impl RefUnwindSafe for Tool
impl Send for Tool
impl Sync for Tool
impl Unpin for Tool
impl UnwindSafe for Tool
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.