nonempty_containers/lib.rs
1//! Non-empty containers.
2//!
3//! Non-emptiness is generally a very useful tool, when you need inherent guarantees in code but
4//! want to avoid repeatedly writing the same checks. This module provides non-empty versions of
5//! common container types, such as [Vec].
6
7pub mod ne_vec;
8pub use ne_vec::NEVec;
9
10pub mod ne_set;
11pub use ne_set::NESet;
12
13pub mod ne_ordered_set;
14pub use ne_ordered_set::NEOrderedSet;
15
16#[cfg(feature = "arbitrary")]
17mod arbitrary;
18
19#[macro_use]
20mod macros;
21mod errors;