o3 0.58.0

shared-nothing primitives
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub(crate) use pop::EndsPop;

mod pop;

unsafe impl<Tag> crate::depot::raw::Link for crate::depot::arena::linked::slots::Index<Tag> {
    type Item = Self;

    const NONE: Self = Self::NONE;

    fn item(self) -> Option<Self> {
        (self != Self::NONE).then_some(self)
    }

    unsafe fn some(item: Self) -> Self {
        item
    }
}