qubit-collections 0.2.2

Custom collection types for specialized access and traversal patterns
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// =============================================================================
//    Copyright (c) 2025 - 2026 Haixing Hu.
//
//    SPDX-License-Identifier: Apache-2.0
//
//    Licensed under the Apache License, Version 2.0.
// =============================================================================
//! Stable tie-breaking sequence for attached records.

/// Orders records that share the same secondary key.
#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)]
pub(crate) struct Sequence(
    /// Monotonically assigned order used to break ties between equal keys.
    pub(crate) u64,
);