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