3 releases
0.1.2 | Dec 30, 2023 |
---|---|
0.1.1 | Dec 29, 2023 |
0.1.0 | Dec 29, 2023 |
#10 in #lending-iterator
1,192 downloads per month
Used in lender
16KB
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.).
Dependencies
~205–630KB
~15K SLoC