| Crates.io | lender-derive |
| lib.rs | lender-derive |
| version | 0.1.2 |
| created_at | 2023-12-29 11:09:40.940724+00 |
| updated_at | 2023-12-30 12:24:26.207684+00 |
| description | Procedural macros for lender |
| homepage | |
| repository | https://github.com/WanderLanz/Lender/ |
| max_upload_size | |
| id | 1083205 |
| size | 42,960 |
Derive procedural macros for the lender crate.
This crate provides a [for_!] function-like macro that can be used to iterate over
an IntoLender with a
syntax similar to a for loop:
for_!(x in into_lender {
...
});
The macro expands to a while let loop that iterates over a
Lender obtained from the
IntoLender.
The full for syntax is supported (patterns, etc.).