Crates.io | lisbeth-tuple-tools |
lib.rs | lisbeth-tuple-tools |
version | 0.1.0 |
source | src |
created_at | 2020-12-25 12:28:53.546287 |
updated_at | 2020-12-25 12:28:53.546287 |
description | A set of tools for tuple manipulation |
homepage | |
repository | https://github.com/scrabsha/lisbeth |
max_upload_size | |
id | 327159 |
size | 9,043 |
A set of tools for tuples.
All the described tools are implemented for tuples with arity smaller or equal to 8.
The TupleAppend
trait allows to append a value at the end of a tuple of any
arity.
The TupleMap*
traits allow to map the nth element of a tuple from one type
to an other.
Note: while the code is stored in the lisbeth parsing framework repository, this crate does not contain any parsing-related code. As such, it may be used in any project not linked to parsing.