Crates.io | leer |
lib.rs | leer |
version | 0.1.1 |
source | src |
created_at | 2023-04-16 15:57:56.51473 |
updated_at | 2023-04-16 16:03:22.264563 |
description | Tiny trait to abstract over types that have a notion of “being empty”. |
homepage | |
repository | https://github.com/LukasKalbertodt/leer/ |
max_upload_size | |
id | 840657 |
size | 19,573 |
A tiny trait to abstract over types that have a notion of “being empty” and can create such an empty instance. Intended to be a foundational crate. See the documentation for more information.
pub trait Empty {
fn empty() -> Self;
}
Licensed under either of Apache License, Version 2.0 or MIT license at your option. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.