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