leer

Crates.ioleer
lib.rsleer
version0.1.1
sourcesrc
created_at2023-04-16 15:57:56.51473
updated_at2023-04-16 16:03:22.264563
descriptionTiny trait to abstract over types that have a notion of “being empty”.
homepage
repositoryhttps://github.com/LukasKalbertodt/leer/
max_upload_size
id840657
size19,573
Lukas Kalbertodt (LukasKalbertodt)

documentation

https://docs.rs/leer/

README

Types that have a notion of “being empty”

CI status of main Crates.io Version docs.rs

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;
}


License

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.

Commit count: 6

cargo fmt