pub struct BinaryAssignment {
pub left: Box<BinaryExpression>,
pub operator: _Eql,
pub right: Box<Expr>,
}Fields§
§left: Box<BinaryExpression>§operator: _Eql§right: Box<Expr>Implementations§
Source§impl BinaryAssignment
impl BinaryAssignment
pub fn new(left: BinaryExpression, operator: _Eql, right: Expr) -> Self
Trait Implementations§
Source§impl Debug for BinaryAssignment
impl Debug for BinaryAssignment
Source§impl From<BinaryAssignment> for AssignmentExpr
impl From<BinaryAssignment> for AssignmentExpr
Source§fn from(value: BinaryAssignment) -> Self
fn from(value: BinaryAssignment) -> Self
Converts to this type from the input type.
Source§impl From<BinaryAssignment> for Component
impl From<BinaryAssignment> for Component
Source§fn from(value: BinaryAssignment) -> Self
fn from(value: BinaryAssignment) -> Self
Converts to this type from the input type.
Source§impl From<BinaryAssignment> for Expr
impl From<BinaryAssignment> for Expr
Source§fn from(value: BinaryAssignment) -> Self
fn from(value: BinaryAssignment) -> Self
Converts to this type from the input type.
Source§impl From<BinaryAssignment> for SequenceElement
impl From<BinaryAssignment> for SequenceElement
Source§fn from(value: BinaryAssignment) -> Self
fn from(value: BinaryAssignment) -> Self
Converts to this type from the input type.
Source§impl From<BinaryAssignment> for SyntaxNode
impl From<BinaryAssignment> for SyntaxNode
Source§fn from(value: BinaryAssignment) -> Self
fn from(value: BinaryAssignment) -> Self
Converts to this type from the input type.
Source§impl PrettyTree for BinaryAssignment
impl PrettyTree for BinaryAssignment
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 BinaryAssignmentwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for BinaryAssignmentwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToTokens for BinaryAssignment
impl ToTokens for BinaryAssignment
Auto Trait Implementations§
impl Freeze for BinaryAssignment
impl RefUnwindSafe for BinaryAssignment
impl Send for BinaryAssignment
impl Sync for BinaryAssignment
impl Unpin for BinaryAssignment
impl UnsafeUnpin for BinaryAssignment
impl UnwindSafe for BinaryAssignment
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