hashmapbool 0.1.0

The new and improved way to use boolean values in your rust code, requiring heap allocation and wasting resources on conversion.
Documentation

HashMapBool

The new and improved way to use boolean values in your rust code, requiring heap allocation and wasting resources on conversion.

Example usage

let a: HashMapBool = true.into();
let b: HashMapBool = false.into();

assert_eq!(a, true);
assert_eq!(b, false);
assert!(a.is_true());
assert!(b.is_false());

let mut c = HashMapBool::new(false);
assert!(c.is_false());
c.set_true().unwrap();
assert!(c.is_true());

License

MIT