generic-vec 0.1.0-alpha

a vector implementation that can be used in `no_std` envioronments
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
macro_rules! doc_heap {
    ($($items:tt)*) => {
        /// Heap
        $($items)*
    }
}

#[cfg(feature = "nightly")]
mod nightly;
#[cfg(not(feature = "nightly"))]
mod stable;

#[cfg(feature = "nightly")]
pub use nightly::Heap;
#[cfg(not(feature = "nightly"))]
pub use stable::Heap;

const INIT_ALLOC_CAPACITY: usize = 4;