Enum yash_syntax::parser::lex::Operator
source · pub enum Operator {
Show 22 variants
Newline,
And,
AndAnd,
OpenParen,
CloseParen,
Semicolon,
SemicolonSemicolon,
Less,
LessAnd,
LessOpenParen,
LessLess,
LessLessDash,
LessLessLess,
LessGreater,
Greater,
GreaterAnd,
GreaterOpenParen,
GreaterGreater,
GreaterGreaterBar,
GreaterBar,
Bar,
BarBar,
}
Expand description
Operator token identifier.
Variants§
Newline
Newline
And
&
AndAnd
&&
OpenParen
(
CloseParen
)
Semicolon
;
SemicolonSemicolon
;;
Less
<
LessAnd
<&
LessOpenParen
<(
LessLess
<<
LessLessDash
<<-
LessLessLess
<<<
LessGreater
<>
Greater
>
GreaterAnd
>&
GreaterOpenParen
>(
GreaterGreater
>>
GreaterGreaterBar
>>|
GreaterBar
>|
Bar
|
BarBar
||
Implementations§
Trait Implementations§
source§impl PartialEq<Operator> for Operator
impl PartialEq<Operator> for Operator
impl Copy for Operator
impl Eq for Operator
impl StructuralEq for Operator
impl StructuralPartialEq for Operator
Auto Trait Implementations§
impl RefUnwindSafe for Operator
impl Send for Operator
impl Sync for Operator
impl Unpin for Operator
impl UnwindSafe for Operator
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