Macros§
- impl_
pick_ tuple - impl_
pick_ tuples - op
- Convenient type operations.
Structs§
- B0
- The type-level bit 0.
- B1
- The type-level bit 1.
- Content
- F
- Tuple
Empty - Tuple
Exist - Tuple
Tail - UInt
UIntis defined recursively, whereBis the least significant bit andUis the rest of the number. Conceptually,Ushould be bound by the traitUnsignedandBshould be bound by the traitBit, but enforcing these bounds causes linear instead of logrithmic scaling in some places, so they are left off for now. They may be enforced in future.- UTerm
- The terminating type for
UInt; it always comes after the most significant bit.UTermby itself represents zero, which is aliased toU0.
Traits§
- Bit
- The marker trait for compile time bits.
- Check
Mask System - Flat
- Integer
- The marker trait for compile time signed integers.
- IsB0
- IsB1
- IsMask
System - Mask
System - Mask
System Content - Pick
Tuple - ToInt
- A type operator for taking a concrete integer value from a type.
- Tuple
Len - Unsigned
- The marker trait for compile time unsigned integers.
- Zero
- A marker trait to designate that a type is zero. Only
B0,U0, andZ0implement this trait.
Functions§
Type Aliases§
- Add1
- Alias to make it easy to add 1:
Add1<A> = <A as Add<B1>>::Output - Tag_1_2
- Tag_2_4
- Tag_3_8
- Tag_
4_ 16 - Tag_
5_ 32 - Tag_
6_ 64 - U0
- U1
- U2
- U3
- U4
- U5
- U6
- U7
- U8
- U9
- U10
- U11
- U12
- U13
- U14
- U15
- U16
- U17
- U18
- U19
- U20
- U21
- U22
- U23
- U24
- U25
- U26
- U27
- U28
- U29
- U30
- U31
- U32
- U33
- U34
- U35
- U36
- U37
- U38
- U39
- U40
- U41
- U42
- U43
- U44
- U45
- U46
- U47
- U48
- U49
- U50
- U51
- U52
- U53
- U54
- U55
- U56
- U57
- U58
- U59
- U60
- U61
- U62
- U63
- U64
- U65
- U66
- U67
- U68
- U69
- U70
- U71
- U72
- U73
- U74
- U75
- U76
- U77
- U78
- U79
- U80
- U81
- U82
- U83
- U84
- U85
- U86
- U87
- U88
- U89
- U90
- U91
- U92
- U93
- U94
- U95
- U96
- U97
- U98
- U99
- U100
- U101
- U102
- U103
- U104
- U105
- U106
- U107
- U108
- U109
- U110
- U111
- U112
- U113
- U114
- U115
- U116
- U117
- U118
- U119
- U120
- U121
- U122
- U123
- U124
- U125
- U126
- U127
- U128