pub trait LinkElem { type LinkIndex: Copy; // Required method fn next(elem: &Self) -> Option<Self::LinkIndex>; }