Skip to content

Implement the From or TryFrom traits for Deque #522

Open
@hicklin

Description

@hicklin

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions