stack-array

Crates.iostack-array
lib.rsstack-array
version0.4.1
sourcesrc
created_at2022-01-07 16:05:34.075278
updated_at2022-04-10 21:02:02.685988
descriptionA data structure for storing and manipulating fixed number of elements of a specific type.
homepage
repositoryhttps://github.com/nurmohammed840/stack-collections
max_upload_size
id509784
size45,020
Nur (nurmohammed840)

documentation

README

Doc

This library provides an array type that is similar to the built-in Vec type, but lives on the stack!

You may use this library to store a fixed number of elements of a specific type (even non-copy types)

Example

use stack_array::*;

let mut arr: ArrayBuf<String, 4> = ArrayBuf::new();

arr.push("Hello".into());
arr.push("World".into());

println!("{:#?}", arr);

Note: Documentation is incomplete and may be inaccurate. I do not have the time to update it. Please report any issues, or contribute!

Commit count: 0

cargo fmt