pub struct PostfixExpression {
pub operand: Box<Expr>,
pub operator: PostfixOperator,
}Fields§
§operand: Box<Expr>§operator: PostfixOperatorImplementations§
Source§impl PostfixExpression
impl PostfixExpression
pub fn new(operand: Expr, operator: PostfixOperator) -> Self
Trait Implementations§
Source§impl Debug for PostfixExpression
impl Debug for PostfixExpression
Source§impl From<PostfixExpression> for Component
impl From<PostfixExpression> for Component
Source§fn from(value: PostfixExpression) -> Self
fn from(value: PostfixExpression) -> Self
Converts to this type from the input type.
Source§impl From<PostfixExpression> for Expr
impl From<PostfixExpression> for Expr
Source§fn from(value: PostfixExpression) -> Self
fn from(value: PostfixExpression) -> Self
Converts to this type from the input type.
Source§impl From<PostfixExpression> for OperatorExpr
impl From<PostfixExpression> for OperatorExpr
Source§fn from(value: PostfixExpression) -> Self
fn from(value: PostfixExpression) -> Self
Converts to this type from the input type.
Source§impl From<PostfixExpression> for SequenceElement
impl From<PostfixExpression> for SequenceElement
Source§fn from(value: PostfixExpression) -> Self
fn from(value: PostfixExpression) -> Self
Converts to this type from the input type.
Source§impl From<PostfixExpression> for SyntaxNode
impl From<PostfixExpression> for SyntaxNode
Source§fn from(value: PostfixExpression) -> Self
fn from(value: PostfixExpression) -> Self
Converts to this type from the input type.
Source§impl PrettyTree for PostfixExpression
impl PrettyTree for PostfixExpression
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Source§impl<N> Reconstruct<N> for PostfixExpressionwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for PostfixExpressionwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToTokens for PostfixExpression
impl ToTokens for PostfixExpression
Auto Trait Implementations§
impl Freeze for PostfixExpression
impl RefUnwindSafe for PostfixExpression
impl Send for PostfixExpression
impl Sync for PostfixExpression
impl Unpin for PostfixExpression
impl UnsafeUnpin for PostfixExpression
impl UnwindSafe for PostfixExpression
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