2 releases
0.1.1 | Apr 16, 2023 |
---|---|
0.1.0 | Apr 16, 2023 |
#561 in Command-line interface
Used in lox
8KB
52 lines
Types that have a notion of “being empty”
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.
Dependencies
~230KB