| Crates.io | map-self |
| lib.rs | map-self |
| version | 0.1.1 |
| created_at | 2023-12-21 21:17:00.441515+00 |
| updated_at | 2025-06-06 17:56:24.588044+00 |
| description | Map a value itself instead of its contained value in usual closure style |
| homepage | |
| repository | https://github.com/Enyium/map-self-rs |
| max_upload_size | |
| id | 1077615 |
| size | 17,068 |
A Rust library crate that offers the MapSelf trait, implemented on all types.
Please consider using the tap crate instead, which provides more functionality. By the way, and_then_some is also a nice little helper.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.