pub struct ExprOpPostfix {
pub operand: Box<Expr>,
pub operator: PostfixOperator,
}Expand description
Struct generated by strutuct! for ExprOpPostfix.
Fields§
§operand: Box<Expr>Field ExprOpPostfix::operand generated by strutuct!.
operator: PostfixOperatorField ExprOpPostfix::operator generated by strutuct!.
Implementations§
Source§impl ExprOpPostfix
impl ExprOpPostfix
Sourcepub fn new(operand: Box<Expr>, operator: PostfixOperator) -> Self
pub fn new(operand: Box<Expr>, operator: PostfixOperator) -> Self
Creates this node from its typed children.
Trait Implementations§
Source§impl Debug for ExprOpPostfix
impl Debug for ExprOpPostfix
Source§impl From<ExprOpPostfix> for AssignmentArgument
impl From<ExprOpPostfix> for AssignmentArgument
Source§fn from(value: ExprOpPostfix) -> Self
fn from(value: ExprOpPostfix) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpPostfix> for AssignmentListContent
impl From<ExprOpPostfix> for AssignmentListContent
Source§fn from(value: ExprOpPostfix) -> Self
fn from(value: ExprOpPostfix) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpPostfix> for Component
impl From<ExprOpPostfix> for Component
Source§fn from(value: ExprOpPostfix) -> Self
fn from(value: ExprOpPostfix) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpPostfix> for Expr
impl From<ExprOpPostfix> for Expr
Source§fn from(value: ExprOpPostfix) -> Self
fn from(value: ExprOpPostfix) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpPostfix> for ExprOp
impl From<ExprOpPostfix> for ExprOp
Source§fn from(value: ExprOpPostfix) -> Self
fn from(value: ExprOpPostfix) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpPostfix> for PackedContent
impl From<ExprOpPostfix> for PackedContent
Source§fn from(value: ExprOpPostfix) -> Self
fn from(value: ExprOpPostfix) -> Self
Converts to this type from the input type.
Source§impl Lex for ExprOpPostfix
impl Lex for ExprOpPostfix
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 ExprOpPostfixwhere
N: ExternalCstNode,
impl<N> Migrate<N> for ExprOpPostfixwhere
N: ExternalCstNode,
Source§impl PrettyTree for ExprOpPostfix
impl PrettyTree for ExprOpPostfix
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 ExprOpPostfix
impl RefUnwindSafe for ExprOpPostfix
impl Send for ExprOpPostfix
impl Sync for ExprOpPostfix
impl Unpin for ExprOpPostfix
impl UnsafeUnpin for ExprOpPostfix
impl UnwindSafe for ExprOpPostfix
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