Crates.io | lentrait |
lib.rs | lentrait |
version | 0.2.3 |
source | src |
created_at | 2021-06-16 15:00:43.414263 |
updated_at | 2021-12-27 02:19:44.538614 |
description | A trait for implementing len(), hopefully replacing the unmaintained len_trait crate. |
homepage | |
repository | |
max_upload_size | |
id | 410914 |
size | 4,338 |
This is a Len trait for Rust, providing a len() function.
This aims to be a unified place to implement Len, so please make a PR if you want to implement it on any new types. The old len_trait does not seem to be maintained, so I made this one as a replacement.
Again, WIP so please feel free to contribue. Any code or ideas are welcome!