arraypp
A no_std and no alloc library for more efficient array processing.
Usage
Compare elements:
use ArrayExtrema;
// Find both the minimum and maximum values and their indices at the same time
let arr = ;
let result = min_max_with_indices.unwrap;
println!;
println!;
// Find the minimum value and its index only
let min = min_with_index.unwrap;
println!;
// Find the maximum value and its index only
let max = max_with_index.unwrap;
println!;
Queue options:
use ArrayQueue;
let mut queue: = new;
assert!;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
assert!;
assert_eq!;
assert_eq!; // Queue is full
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!; // Now there is space
assert_eq!;
assert_eq!;
assert_eq!;
assert!;
assert_eq!;