pub enum OperatorExpr {
AdjacentExpr(AdjacentExpr),
BinaryExpr(BinaryExpr),
PrefixExpr(PrefixExpr),
PostfixExpr(PostfixExpr),
}Expand description
The typed OperatorExpr syntax category.
Variants§
AdjacentExpr(AdjacentExpr)
The AdjacentExpr syntax alternative.
BinaryExpr(BinaryExpr)
The BinaryExpr syntax alternative.
PrefixExpr(PrefixExpr)
The PrefixExpr syntax alternative.
PostfixExpr(PostfixExpr)
The PostfixExpr syntax alternative.
Trait Implementations§
Source§impl Debug for OperatorExpr
impl Debug for OperatorExpr
Source§impl From<AdjacentExpr> for OperatorExpr
impl From<AdjacentExpr> for OperatorExpr
Source§fn from(value: AdjacentExpr) -> Self
fn from(value: AdjacentExpr) -> Self
Converts to this type from the input type.
Source§impl From<BinaryExpr> for OperatorExpr
impl From<BinaryExpr> for OperatorExpr
Source§fn from(value: BinaryExpr) -> Self
fn from(value: BinaryExpr) -> Self
Converts to this type from the input type.
Source§impl From<OperatorExpr> for AssignmentPackComponent
impl From<OperatorExpr> for AssignmentPackComponent
Source§fn from(value: OperatorExpr) -> Self
fn from(value: OperatorExpr) -> Self
Converts to this type from the input type.
Source§impl From<OperatorExpr> for Component
impl From<OperatorExpr> for Component
Source§fn from(value: OperatorExpr) -> Self
fn from(value: OperatorExpr) -> Self
Converts to this type from the input type.
Source§impl From<OperatorExpr> for Expr
impl From<OperatorExpr> for Expr
Source§fn from(value: OperatorExpr) -> Self
fn from(value: OperatorExpr) -> Self
Converts to this type from the input type.
Source§impl From<PostfixExpr> for OperatorExpr
impl From<PostfixExpr> for OperatorExpr
Source§fn from(value: PostfixExpr) -> Self
fn from(value: PostfixExpr) -> Self
Converts to this type from the input type.
Source§impl From<PrefixExpr> for OperatorExpr
impl From<PrefixExpr> for OperatorExpr
Source§fn from(value: PrefixExpr) -> Self
fn from(value: PrefixExpr) -> Self
Converts to this type from the input type.
Source§impl Lex for OperatorExpr
impl Lex for OperatorExpr
Source§fn to_tokens(&self, output: &mut TokenStream)
fn to_tokens(&self, output: &mut TokenStream)
Appends this value’s token trees to
output.Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Emits this value into a fresh token stream.
Source§impl<N> Migrate<N> for OperatorExprwhere
N: ExternalCstNode,
impl<N> Migrate<N> for OperatorExprwhere
N: ExternalCstNode,
Source§impl PrettyTree for OperatorExpr
impl PrettyTree for OperatorExpr
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Auto Trait Implementations§
impl Freeze for OperatorExpr
impl RefUnwindSafe for OperatorExpr
impl Send for OperatorExpr
impl Sync for OperatorExpr
impl Unpin for OperatorExpr
impl UnsafeUnpin for OperatorExpr
impl UnwindSafe for OperatorExpr
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