qubit-function 0.16.0

Functional programming traits and Box/Rc/Arc adapters for Rust, inspired by Java functional interfaces
// =============================================================================
//    Copyright (c) 2025 - 2026 Haixing Hu.
//
//    SPDX-License-Identifier: Apache-2.0
//
//    Licensed under the Apache License, Version 2.0.
// =============================================================================

//! # Predicate Macros Module
//!
//! Provides declarative macros to simplify Predicate implementations and
//! reduce code duplication.

mod box_predicate_methods;
pub(crate) mod constants;
mod predicate_clone;
mod predicate_common_methods;
mod predicate_debug_display;
mod shared_predicate_methods;

// Export all macros for use within the crate
pub(crate) use box_predicate_methods::impl_box_predicate_methods;
pub(crate) use predicate_clone::impl_predicate_clone;
pub(crate) use predicate_common_methods::impl_predicate_common_methods;
#[cfg(feature = "stateful")]
pub(crate) use predicate_common_methods::impl_stateful_predicate_new_methods;
pub(crate) use predicate_debug_display::impl_predicate_debug_display;
pub(crate) use shared_predicate_methods::impl_shared_predicate_methods;