vec-unpack 0.1.0

Creates a Vec containing the arguments. vecu! unpacks iterable variables marked with @.
Documentation
  • Coverage
  • 66.67%
    2 out of 3 items documented1 out of 1 items with examples
  • Size
  • Source code size: 4.25 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.06 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • sinotca529/vec-unpack
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • sinotca529

vec-unpack

Creates a Vec containing the arguments.

vecu! unpacks iterable variables marked with @.

use vec_unpack::*;
let a = [2, 3];
let b = vecu![0, 1, @a, 4, 5];
assert_eq!(b, vec![0, 1, 2, 3, 4, 5]);