Skip to main content

Crate nyarray

Crate nyarray 

Source
Expand description

§nyarray

small vector types.

use crate::array::Array for a stack-allocated vector, and use crate::switch::SwitchVec for a stack-allocated vector that can switch to heap allocation.

Modules§

array
stack-allocated array structure. similar to Vec in functionality, except Array lives on the ‘stack’, lending it well for scratch arrays.
switch
a combination of the stack-allocated crate::array::Array and the heap-allocated Vec.

Macros§

array
create an Array.