Expand description
This microcrate contains the Array
trait used by the
toad
CoAP runtime / ecosystem.
The Array
trait defines common operations used with heap-allocated
collections like Vec
but
is also implemented for tinyvec::ArrayVec
allowing
for applications to be usable on platforms with or without heap allocation.
Traitsยง
- Append
Copy - Collections that support extending themselves mutably from copyable slices
- Array
- A generalization of
std::vec::Vec
- Filled
- Fill this collection to the end with copies of
t
, copying array initialization[0u8; 1000]
to theArray
trait. - Indexed
- Operations on ordered indexed collections
- Reserve
- Create a data structure and reserve some amount of space for it to grow into
- Trunc
- Truncate this collection to a new length.