]> git.proxmox.com Git - rustc.git/blob - vendor/im-rc/src/nodes/mod.rs
New upstream version 1.70.0+dfsg2
[rustc.git] / vendor / im-rc / src / nodes / mod.rs
1 // This Source Code Form is subject to the terms of the Mozilla Public
2 // License, v. 2.0. If a copy of the MPL was not distributed with this
3 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
5 pub(crate) mod btree;
6 pub(crate) mod hamt;
7 pub(crate) mod rrb;
8
9 pub(crate) mod chunk {
10 use crate::config::VectorChunkSize;
11 use sized_chunks as sc;
12 use typenum::Unsigned;
13
14 pub(crate) type Chunk<A> = sc::sized_chunk::Chunk<A, VectorChunkSize>;
15 pub(crate) const CHUNK_SIZE: usize = VectorChunkSize::USIZE;
16 }