dassign 0.2.0

Simple destructuring assignments.
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 0 items with examples
  • Size
  • Source code size: 2.45 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 97.87 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • sandeep-datta/dassign
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • sandeep-datta

DASSIGN: Destructuring assignment

Use this crate for simple tuple destructuring assignments while the compiler implementation of this feature is being stabilized.

let mut x;
let mut y;

for _ in 1..100 {
    dassign!((x, y) = func_returning_tuple());
}

Once this feature is stabilized simply remove the dassign! macro from your code.

Reference