rust_struct_iterable
rust_struct_iterable copied to clipboard
I took a stab at #5 and added an example. Let me know what you think! I also re-organized the top-level Cargo.toml a little to make examples work correctly.
Instead of `dyn Any` I'd like to iterate over `dyn MyTrait` (`dyn Checkable` in the example below) with the assumption that all fields in the struct implement that trait (else,...
I'll have a PR out for this is a minute, but it seems to work. Is there some reason this wasn't already implemented? It seems fairly straightforward. I added the...
Hi! Perfect little crate! But unfortunately this won't work: ```rs use struct_iterable::Iterable; #[derive(Iterable)] struct Foo src/lib.rs:4:8 | 4 | struct Foo