Crate toad_array
source ·Expand description
toad-array
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
- Collections that support extending themselves mutably from copyable slices
- An ordered indexable collection of some type
Item - Fill this collection to the end with copies of
t, copying array initialization[0u8; 1000]to theArraytrait. - Create a data structure and reserve some amount of space for it to grow into
- Truncate this collection to a new length.