typenum::bit - Rust
Description: Type-level bits.
Keywords: rust, rustlang, rust-lang, bit

# 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`.

## Re-exports

`pub use crate::marker_traits::Bit;`

## Structs

B0
The type-level bit 0.
B1
The type-level bit 1.