heaparray 0.1.5

Heap-allocated array with optional metadata field
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::*;
mod array_ptr;

#[derive(Eq, PartialEq)]
pub struct Test {
    pub a: usize,
    pub b: u8,
    pub c: u8,
}

impl Default for Test {
    fn default() -> Test {
        Self { a: 100, b: 2, c: 2 }
    }
}