o3 0.36.2

shared-nothing primitives
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::depot::arena::slab;

/// A logical identity projection of its native borrowed phase.
pub struct Borrowed<B, Tag = (), const ROOT: bool = true> {
    pub(in crate::depot::arena::slab) inner: slab::Borrowed<B, Tag, ROOT>,
}

const _: () = {
    type Slot =
        Borrowed<slab::entries::Busy<'static, u64, { u32::MAX }, slab::entries::Interior<true>>>;
    assert!(size_of::<Slot>() == 2 * size_of::<usize>());
    assert!(size_of::<Option<Slot>>() == size_of::<Slot>());
};