qubit-codec 0.15.0

Core codec traits and buffer conversion primitives for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// =============================================================================
//    Copyright (c) 2026 Haixing Hu.
//
//    SPDX-License-Identifier: Apache-2.0
// =============================================================================

//! Inventory value-codec registration factories.

use crate::ValueCodecRegistration;

/// Factory submitted by [`register_value_codec!`](crate::register_value_codec).
#[doc(hidden)]
pub struct ValueCodecRegistrationFactory(pub fn() -> ValueCodecRegistration);

inventory::collect!(ValueCodecRegistrationFactory);