pub enum AssignmentExpr {
Assignment(Assignment),
LocalAssignment(LocalAssignment),
BinaryAssignment(BinaryAssignment),
BinaryInstallation(BinaryInstallation),
PrefixAssignment(PrefixAssignment),
PrefixInstallation(PrefixInstallation),
PostfixAssignment(PostfixAssignment),
PostfixInstallation(PostfixInstallation),
StructuredBinding(StructuredBinding),
LocalStructuredBinding(LocalStructuredBinding),
EvaluatedAssignment(EvaluatedAssignment),
}Variants§
Assignment(Assignment)
LocalAssignment(LocalAssignment)
BinaryAssignment(BinaryAssignment)
BinaryInstallation(BinaryInstallation)
PrefixAssignment(PrefixAssignment)
PrefixInstallation(PrefixInstallation)
PostfixAssignment(PostfixAssignment)
PostfixInstallation(PostfixInstallation)
StructuredBinding(StructuredBinding)
LocalStructuredBinding(LocalStructuredBinding)
EvaluatedAssignment(EvaluatedAssignment)
Trait Implementations§
Source§impl Debug for AssignmentExpr
impl Debug for AssignmentExpr
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<AssignmentExpr> for Component
impl From<AssignmentExpr> for Component
Source§fn from(value: AssignmentExpr) -> Self
fn from(value: AssignmentExpr) -> Self
Converts to this type from the input type.
Source§impl From<AssignmentExpr> for Expr
impl From<AssignmentExpr> for Expr
Source§fn from(value: AssignmentExpr) -> Self
fn from(value: AssignmentExpr) -> Self
Converts to this type from the input type.
Source§impl From<AssignmentExpr> for SequenceElement
impl From<AssignmentExpr> for SequenceElement
Source§fn from(value: AssignmentExpr) -> Self
fn from(value: AssignmentExpr) -> Self
Converts to this type from the input type.
Source§impl From<AssignmentExpr> for SyntaxNode
impl From<AssignmentExpr> for SyntaxNode
Source§fn from(value: AssignmentExpr) -> Self
fn from(value: AssignmentExpr) -> Self
Converts to this type from the input type.
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<BinaryInstallation> for AssignmentExpr
impl From<BinaryInstallation> for AssignmentExpr
Source§fn from(value: BinaryInstallation) -> Self
fn from(value: BinaryInstallation) -> Self
Converts to this type from the input type.
Source§impl From<EvaluatedAssignment> for AssignmentExpr
impl From<EvaluatedAssignment> for AssignmentExpr
Source§fn from(value: EvaluatedAssignment) -> Self
fn from(value: EvaluatedAssignment) -> Self
Converts to this type from the input type.
Source§impl From<LocalAssignment> for AssignmentExpr
impl From<LocalAssignment> for AssignmentExpr
Source§fn from(value: LocalAssignment) -> Self
fn from(value: LocalAssignment) -> Self
Converts to this type from the input type.
Source§impl From<LocalStructuredBinding> for AssignmentExpr
impl From<LocalStructuredBinding> for AssignmentExpr
Source§fn from(value: LocalStructuredBinding) -> Self
fn from(value: LocalStructuredBinding) -> Self
Converts to this type from the input type.
Source§impl From<PostfixAssignment> for AssignmentExpr
impl From<PostfixAssignment> for AssignmentExpr
Source§fn from(value: PostfixAssignment) -> Self
fn from(value: PostfixAssignment) -> Self
Converts to this type from the input type.
Source§impl From<PostfixInstallation> for AssignmentExpr
impl From<PostfixInstallation> for AssignmentExpr
Source§fn from(value: PostfixInstallation) -> Self
fn from(value: PostfixInstallation) -> Self
Converts to this type from the input type.
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<PrefixInstallation> for AssignmentExpr
impl From<PrefixInstallation> for AssignmentExpr
Source§fn from(value: PrefixInstallation) -> Self
fn from(value: PrefixInstallation) -> Self
Converts to this type from the input type.
Source§impl From<StructuredBinding> for AssignmentExpr
impl From<StructuredBinding> for AssignmentExpr
Source§fn from(value: StructuredBinding) -> Self
fn from(value: StructuredBinding) -> Self
Converts to this type from the input type.
Source§impl PrettyTree for AssignmentExpr
impl PrettyTree for AssignmentExpr
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 AssignmentExprwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for AssignmentExprwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToCells for AssignmentExpr
impl ToCells for AssignmentExpr
Source§fn to_cells(&self, output: &mut CellStream)
fn to_cells(&self, output: &mut CellStream)
Appends this value’s global cells to
output.Source§fn to_cell_stream(&self, source_id: SourceId) -> CellStream
fn to_cell_stream(&self, source_id: SourceId) -> CellStream
Emits this value into a fresh cell stream with the requested identity.
Source§impl ToTokens for AssignmentExpr
impl ToTokens for AssignmentExpr
Auto Trait Implementations§
impl Freeze for AssignmentExpr
impl RefUnwindSafe for AssignmentExpr
impl Send for AssignmentExpr
impl Sync for AssignmentExpr
impl Unpin for AssignmentExpr
impl UnsafeUnpin for AssignmentExpr
impl UnwindSafe for AssignmentExpr
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