qubit_function/suppliers/mod.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//! # Suppliers Module
11//!
12//! This module provides supplier-related functional programming abstractions
13//! for producing values without input parameters.
14//!
15
16pub(crate) mod macros;
17pub mod stateful_supplier;
18pub mod supplier;
19pub mod supplier_once;
20
21pub use stateful_supplier::{
22 ArcStatefulSupplier,
23 BoxStatefulSupplier,
24 FnStatefulSupplierOps,
25 RcStatefulSupplier,
26 StatefulSupplier,
27};
28pub use supplier::{
29 ArcSupplier,
30 BoxSupplier,
31 RcSupplier,
32 Supplier,
33};
34pub use supplier_once::{
35 BoxSupplierOnce,
36 SupplierOnce,
37};