pub enum BinaryRightOperand {
Expression(Box<Expression>),
CommandSubstitution(CommandSubstitution),
Expansion(Expansion),
ExtglobPattern(ExtglobPattern),
Number(Number),
Regex(Regex),
SimpleExpansion(SimpleExpansion),
StringNode(StringNode),
Subscript(Box<Subscript>),
VariableName(VariableName),
}Expand description
Permitted on binary_expression.right — adds extglob_pattern and regex.
Variants§
Expression(Box<Expression>)
CommandSubstitution(CommandSubstitution)
Expansion(Expansion)
ExtglobPattern(ExtglobPattern)
Number(Number)
Regex(Regex)
SimpleExpansion(SimpleExpansion)
StringNode(StringNode)
Subscript(Box<Subscript>)
VariableName(VariableName)
Trait Implementations§
Source§impl Clone for BinaryRightOperand
impl Clone for BinaryRightOperand
Source§fn clone(&self) -> BinaryRightOperand
fn clone(&self) -> BinaryRightOperand
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 BinaryRightOperand
impl Debug for BinaryRightOperand
Source§impl<'de> Deserialize<'de> for BinaryRightOperand
impl<'de> Deserialize<'de> for BinaryRightOperand
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 PartialEq for BinaryRightOperand
impl PartialEq for BinaryRightOperand
Source§impl Serialize for BinaryRightOperand
impl Serialize for BinaryRightOperand
impl StructuralPartialEq for BinaryRightOperand
Auto Trait Implementations§
impl Freeze for BinaryRightOperand
impl RefUnwindSafe for BinaryRightOperand
impl Send for BinaryRightOperand
impl Sync for BinaryRightOperand
impl Unpin for BinaryRightOperand
impl UnsafeUnpin for BinaryRightOperand
impl UnwindSafe for BinaryRightOperand
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