Available on crate feature
compute_limit
only.Expand description
Returns the Array
limited by num_elements
.
Limit performs a zero-copy slice of the array, and is a convenience method on slice where:
- it performs a bounds-check on the array
- it slices from offset 0