#everything #excluding #universe #specify #enums #nothing #clone

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

#11 in #universe

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