SlotIndex in rustc_data_structures::vec_cache - Rust (original) (raw)

struct SlotIndex {
    bucket_idx: usize,
    entries: usize,
    index_in_bucket: usize,
}

Expand description

This uniquely identifies a single Slot<V> entry in the buckets map, and provides accessors for either getting the value or putting a value.

§

§

§

§

§

§

§

§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 24 bytes