1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
use layer::*;
use types::*;

#[derive(Clone, Copy)]
#[repr(C)]
pub struct LayerListNode_t {
    pub Data: Layer_t,
    pub Prev: *mut LayerListNode_t,
    pub Next: *mut LayerListNode_t,
}

#[derive(Clone, Copy)]
#[repr(C)]
pub struct LayerList_t {
    pub Size: Quantity_t,
    pub First: *mut LayerListNode_t,
    pub Last: *mut LayerListNode_t,
}