pub enum PatternValueType {
TokenField(TokenField),
ContextField(ContextField),
ConstantValue(ConstantValue),
OperandValue(OperandValue),
StartInstructionValue {
_tag: (),
},
EndInstructionValue {
_tag: (),
},
Next2InstructionValue {
_tag: (),
},
}Expand description
Class Inheritance goes:
- PatternExpression:
- PatternValue : PatternExpression
- TokenField : PatternValue
- ContextField : PatternValue
- ConstantValue : PatternValue
- StartInstructionValue : PatternValue
- EndInstructionValue : PatternValue
- Next2InstructionValue : PatternValue
- OperandValue : PatternValue
- UnaryExpression : PatternExpression
- BinaryExpression : PatternExpression
- PatternValue : PatternExpression
Variants§
TokenField(TokenField)
ContextField(ContextField)
ConstantValue(ConstantValue)
OperandValue(OperandValue)
StartInstructionValue
EndInstructionValue
Next2InstructionValue
Trait Implementations§
Source§impl Debug for PatternValueType
impl Debug for PatternValueType
Source§impl Extract<PatternValueType> for PatternValueType
impl Extract<PatternValueType> for PatternValueType
Source§impl PartialEq for PatternValueType
impl PartialEq for PatternValueType
impl StructuralPartialEq for PatternValueType
Auto Trait Implementations§
impl Freeze for PatternValueType
impl RefUnwindSafe for PatternValueType
impl Send for PatternValueType
impl Sync for PatternValueType
impl Unpin for PatternValueType
impl UnwindSafe for PatternValueType
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> 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