doublets 0.2.0

Doublets (links) data structure implementation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use data::LinkReference;

#[derive(Debug, Default, Clone, Eq, PartialEq)]
#[repr(C)]
pub struct LinksHeader<T: LinkReference> {
    pub allocated: T,
    pub reserved: T,
    pub free: T,
    pub first_free: T,
    pub root_as_source: T,
    pub root_as_target: T,
    pub last_free: T,

    __reserved_8: T,
}