qubit-value 0.12.2

Type-safe containers for single, multi-valued, and named runtime values
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// =============================================================================
//    Copyright (c) 2026 Haixing Hu.
//
//    SPDX-License-Identifier: Apache-2.0
//
//    Licensed under the Apache License, Version 2.0.
// =============================================================================
//! Order-independent aggregates for JSON object hashing.

/// Hash aggregates for one object currently being visited.
#[derive(Default)]
pub(super) struct ObjectHash {
    /// Wrapping sum of the object's entry hashes.
    pub(super) sum: u64,
    /// Rotated xor of the object's entry hashes.
    pub(super) xor: u64,
}