Expand description
§MapperOnce Types
Provides Rust implementations of consuming mapper traits similar to
Rust’s FnOnce trait, but with value-oriented semantics for functional
programming patterns with state consumption.
This module provides the MapperOnce<T, R> trait and one-time use
implementation:
BoxMapperOnce: Single ownership, one-time use
§Author
胡海星
Structs§
- BoxConditional
Mapper Once - BoxConditionalMapperOnce struct
- BoxMapper
Once - BoxMapperOnce - consuming mapper wrapper based on
Box<dyn FnOnce>
Traits§
- FnMapper
Once Ops - Extension trait for closures implementing
FnOnce(T) -> R - Mapper
Once - MapperOnce trait - consuming mapper that takes ownership