Expand description
Provide some traits (and implementations) for types in the spirit of is_*
(like is_empty
)
The idea is to provide standard traits for types to e.g. check “if something is empty”? In
some cases, one might just be interested if something is empty. However, Rust currently doesn’t
offer a trait like IsEmpty
, although a lot of types provide a is_empty(&self) -> bool
function. This crate tries to fix that.
Re-exports§
Modules§
- default
- Check if a value is the default.
- empty
- Check if a value is empty
- prelude
- The prelude, including everything necessary