qubit-function 0.15.0

Functional programming traits and Box/Rc/Arc adapters for Rust, inspired by Java functional interfaces
Documentation
/*******************************************************************************
 *
 *    Copyright (c) 2025 - 2026 Haixing Hu.
 *
 *    SPDX-License-Identifier: Apache-2.0
 *
 *    Licensed under the Apache License, Version 2.0.
 *
 ******************************************************************************/
//! # Predicates Module
//!
//! This module provides predicate-related functional programming abstractions
//! for testing values and returning boolean results.
//!

pub mod bi_predicate;
pub(crate) mod macros;
pub mod predicate;
pub mod stateful_bi_predicate;
pub mod stateful_predicate;

pub use bi_predicate::{
    ArcBiPredicate,
    BiPredicate,
    BoxBiPredicate,
    FnBiPredicateOps,
    RcBiPredicate,
};
pub use predicate::{
    ArcPredicate,
    BoxPredicate,
    FnPredicateOps,
    Predicate,
    RcPredicate,
};
pub use stateful_bi_predicate::{
    ArcStatefulBiPredicate,
    BoxStatefulBiPredicate,
    FnStatefulBiPredicateOps,
    RcStatefulBiPredicate,
    StatefulBiPredicate,
};
pub use stateful_predicate::{
    ArcStatefulPredicate,
    BoxStatefulPredicate,
    FnStatefulPredicateOps,
    RcStatefulPredicate,
    StatefulPredicate,
};