Module bi_transformer_once

Module bi_transformer_once 

Source
Expand description

§BiTransformerOnce Types

Provides Rust implementations of consuming bi-transformer traits similar to Rust’s FnOnce trait, but with value-oriented semantics for functional programming patterns with two inputs.

This module provides the BiTransformerOnce<T, U, R> trait and one-time use implementations:

§Author

Hu Haixing

Structs§

BoxBiTransformerOnce
BoxBiTransformerOnce - consuming bi-transformer wrapper based on Box<dyn FnOnce>
BoxConditionalBiTransformerOnce
BoxConditionalBiTransformerOnce struct

Traits§

BiTransformerOnce
BiTransformerOnce trait - consuming bi-transformation that takes ownership
BinaryOperatorOnce
BinaryOperatorOnce trait - marker trait for one-time use binary operators
FnBiTransformerOnceOps
Extension trait for closures implementing FnOnce(T, U) -> R

Type Aliases§

BoxBinaryOperatorOnce
Type alias for BoxBiTransformerOnce<T, T, T>