pub enum Token {
ConditionId(String),
And,
Or,
Xor,
Not,
LeftParen,
RightParen,
}Expand description
Token types produced by the condition expression tokenizer.
Variants§
ConditionId(String)
A condition reference number, e.g., 931 from [931].
And
AND operator (∧ or AND).
Or
OR operator (∨ or OR).
Xor
XOR operator (⊻ or XOR).
Not
NOT operator (NOT).
LeftParen
Opening parenthesis (.
RightParen
Closing parenthesis ).
Trait Implementations§
impl Eq for Token
impl StructuralPartialEq for Token
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnsafeUnpin for Token
impl UnwindSafe for Token
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