Skip to content

LukasKalbertodt/leer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A tiny trait to abstract over types that have a notion of “being empty”

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages