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