arrayref::array_ref!
[−]
[src]
macro_rules! array_ref { ($arr:expr, $offset:expr, $len:expr) => { ... }; }
You can use array_ref
to generate an array reference to a subset
of a sliceable bit of data (which could be an array, or a slice,
or a Vec).
Panics if the slice is out of bounds.