Expand description
§The Struct-inator 3000!
A procedural macro library for allowing conversion from iterators to user-defined
struct
s.
This library does so by implementing a procedural macro, iter_convertable
for struct
definitions that automatically implements structinator_traits::SpecifyCreatableStruct
for the defined struct
.
For more information about how iter_convertable
implements SpecifyCreatableStruct
, visit the macro’s documentation
For more information about how an implementation of SpecifyCreatableStruct
allows for easy conversion between Iterator
s and struct
s, visit the documentation of structinator_traits
Attribute Macros§
- iter_
convertable - Attribute for structs that can be built from an iterator.
This attribute must be attached to a
struct
definition