slice2d 0.1.1

Ergonomic array slice for 2d array manipulation.
Documentation
  • Coverage
  • 92.86%
    13 out of 14 items documented1 out of 13 items with examples
  • Size
  • Source code size: 19.81 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.35 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • mintlu8/slice2d
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mintlu8

slice2d

Ergonomic array slice for 2d array manipulation.

Example

let vector = vec![1, 2, 3, 4, 5, 6];
let slice = vector.get_slice2d(3, 2).unwrap();
assert_eq!(slice[2][0], 5);
assert_eq!(&slice[1], &[3, 4]);