qubit_common/lang/mod.rs
1/*******************************************************************************
2 *
3 * Copyright (c) 2025 - 2026.
4 * Haixing Hu, Qubit Co. Ltd.
5 *
6 * All rights reserved.
7 *
8 ******************************************************************************/
9//! # Language Tools
10//!
11//! Provides common language-level tools and utility functions.
12//!
13//! # Author
14//!
15//! Haixing Hu
16
17pub mod argument;
18pub mod box_error;
19pub mod data_type;
20
21pub use box_error::{
22 BoxError,
23 BoxResult,
24};
25pub use data_type::{
26 DataType,
27 DataTypeOf,
28};
29
30// Re-export commonly used types
31pub use argument::{
32 ArgumentError,
33 ArgumentResult,
34 CollectionArgument,
35 NumericArgument,
36 OptionArgument,
37 StringArgument,
38 check_argument,
39 check_state,
40};