Skip to main content

qubit_datatype/
lib.rs

1/*******************************************************************************
2 *
3 *    Copyright (c) 2025 - 2026 Haixing Hu.
4 *
5 *    SPDX-License-Identifier: Apache-2.0
6 *
7 *    Licensed under the Apache License, Version 2.0.
8 *
9 ******************************************************************************/
10//! # Qubit Datatype
11//!
12//! Provides runtime data type descriptors and conversion utilities for supported
13//! Rust data types.
14//!
15
16/// Data type descriptors and compile-time type mappings.
17pub mod datatype;
18
19/// Runtime value conversion utilities.
20pub mod converter;
21
22pub use converter::{
23    BlankStringPolicy,
24    BooleanConversionOptions,
25    CollectionConversionOptions,
26    DataConversionError,
27    DataConversionOptions,
28    DataConversionResult,
29    DataConvertTo,
30    DataConverter,
31    DataConverters,
32    DataListConversionError,
33    DataListConversionResult,
34    DurationConversionOptions,
35    DurationUnit,
36    EmptyItemPolicy,
37    ScalarStringDataConverters,
38    StringConversionOptions,
39};
40pub use datatype::{
41    DataType,
42    DataTypeOf,
43    DataTypeParseError,
44};