pub struct DestructuringWire {
pub names: Vec<String>,
pub value: Expr,
pub span: Option<Span>,
}Expand description
Destructuring wire: wire (a, b, c) = expr;
Fields§
§names: Vec<String>§value: Expr§span: Option<Span>Trait Implementations§
Source§impl Clone for DestructuringWire
impl Clone for DestructuringWire
Source§fn clone(&self) -> DestructuringWire
fn clone(&self) -> DestructuringWire
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DestructuringWire
impl Debug for DestructuringWire
Source§impl PartialEq for DestructuringWire
impl PartialEq for DestructuringWire
impl StructuralPartialEq for DestructuringWire
Auto Trait Implementations§
impl Freeze for DestructuringWire
impl RefUnwindSafe for DestructuringWire
impl Send for DestructuringWire
impl Sync for DestructuringWire
impl Unpin for DestructuringWire
impl UnsafeUnpin for DestructuringWire
impl UnwindSafe for DestructuringWire
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