#everything #universe #specify #everyone #nothing #partial-eq #excluding

no-std quantified

Specify the universe: None, Some, Excluding, and All

2 releases

0.1.1 Nov 15, 2020
0.1.0 Nov 15, 2020

#1555 in Rust patterns

MIT license

7KB

quantified

CI status quantified on docs.rs

Something, Everything, and Nothing for Everyone.

#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub enum Quantified<T> {
    None,
    Some(T),
    Excluding(T),
    All,
}

No runtime deps