4 releases

Uses old Rust 2015

0.1.3 Oct 19, 2017
0.1.2 Oct 19, 2017
0.1.1 Oct 19, 2017
0.1.0 Oct 19, 2017

#26 in #false

MIT license

3KB

trit

Trinary crate for Rust


lib.rs:

The trit crate

A crate that provides a trinary type

Usage

// Creates a type that is both true and false
let both = Trit::Both;
// both.is_true() == true
// both.is_false() == true
// both.only_true() == false
// both.only_false() == false

No runtime deps