heapless icon indicating copy to clipboard operation
heapless copied to clipboard

Implement the `From` or `TryFrom` traits for `Deque`

Open hicklin opened this issue 11 months ago • 0 comments

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]);

hicklin avatar Dec 13 '24 14:12 hicklin