qubit_function/functions/function/fn_function_ops.rs
1/*******************************************************************************
2 *
3 * Copyright (c) 2025 - 2026.
4 * Haixing Hu, Qubit Co. Ltd.
5 *
6 * All rights reserved.
7 *
8 ******************************************************************************/
9//! Defines the `FnFunctionOps` public type.
10
11#![allow(unused_imports)]
12
13use super::*;
14
15// ============================================================================
16// FnFunctionOps - Extension trait for closure functions
17// ============================================================================
18
19// Generates: FnFunctionOps trait and blanket implementation
20impl_fn_ops_trait!(
21 (Fn(&T) -> R),
22 FnFunctionOps,
23 BoxFunction,
24 Function,
25 BoxConditionalFunction
26);