Module typenum::bit

source ·
Expand description

Type-level bits.

These are rather simple and are used as the building blocks of the other number types in this crate.

Type operators implemented:

  • From core::ops: BitAnd, BitOr, BitXor, and Not.
  • From typenum: Same and Cmp.


  • pub use crate::marker_traits::Bit;


  • The type-level bit 0.
  • The type-level bit 1.