Crates.io | structinator |
lib.rs | structinator |
version | 0.1.2 |
source | src |
created_at | 2023-08-04 01:18:05.535419 |
updated_at | 2024-06-17 16:37:20.781809 |
description | Library for transfering data from iterators to structs |
homepage | |
repository | https://github.com/script-mouse/structinator |
max_upload_size | |
id | 934763 |
size | 11,561 |
structinator is a library for easy implementation of SpecifyCreatableStruct
from structinator_traits
. Just add the attribute #[iter_convertable]
to the struct you want to implement SpecifyCreatableStruct
, and an automatic implementation of the trait will allow conversion between iterators and the structure of your choice! For more information, check this library's documentation below.