pub struct AdjacentExpr {
pub left_operand: Box<Expr>,
pub operator: Adj,
pub right_operand: Box<Expr>,
}Expand description
A typed Macaulay2 adjacent_expr syntax node.
Fields§
§left_operand: Box<Expr>The left_operand child of this syntax node.
operator: AdjThe operator child of this syntax node.
right_operand: Box<Expr>The right_operand child of this syntax node.
Implementations§
Trait Implementations§
Source§impl Debug for AdjacentExpr
impl Debug for AdjacentExpr
Source§impl From<AdjacentExpr> for AssignmentPackComponent
impl From<AdjacentExpr> for AssignmentPackComponent
Source§fn from(value: AdjacentExpr) -> Self
fn from(value: AdjacentExpr) -> Self
Converts to this type from the input type.
Source§impl From<AdjacentExpr> for Component
impl From<AdjacentExpr> for Component
Source§fn from(value: AdjacentExpr) -> Self
fn from(value: AdjacentExpr) -> Self
Converts to this type from the input type.
Source§impl From<AdjacentExpr> for Expr
impl From<AdjacentExpr> for Expr
Source§fn from(value: AdjacentExpr) -> Self
fn from(value: AdjacentExpr) -> Self
Converts to this type from the input type.
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 Lex for AdjacentExpr
impl Lex for AdjacentExpr
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 PrettyTree for AdjacentExpr
impl PrettyTree for AdjacentExpr
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 AdjacentExprwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for AdjacentExprwhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for AdjacentExpr
impl RefUnwindSafe for AdjacentExpr
impl Send for AdjacentExpr
impl Sync for AdjacentExpr
impl Unpin for AdjacentExpr
impl UnsafeUnpin for AdjacentExpr
impl UnwindSafe for AdjacentExpr
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