heapless
heapless copied to clipboard
Implement the `From` or `TryFrom` traits for `Deque`
It would be very useful to be able to create a Deque from a slice or a heapless Vec using the from() or try_from() methods.
For example:
let deq = Deque::<u8, 4>::try([1, 2, 3, 4]);