Macros§
- bitpiece_
check_ base_ impl - bitpiece_
check_ const_ assert_ bits_ eq - bitpiece_
check_ do_ for_ each_ value - bitpiece_
check_ fields_ impl - bitpiece_
check_ full_ impl - bitpiece_
check_ gen_ values_ to_ check - bitpiece_
check_ mut_ impl - bitpiece_
define_ mut_ ref_ type - const_
for - A for loop that is usable in const contexts.
- paste
Structs§
- B1
- a type used to represent a field with a specific amount of bits.
- B2
- a type used to represent a field with a specific amount of bits.
- B3
- a type used to represent a field with a specific amount of bits.
- B4
- a type used to represent a field with a specific amount of bits.
- B5
- a type used to represent a field with a specific amount of bits.
- B6
- a type used to represent a field with a specific amount of bits.
- B7
- a type used to represent a field with a specific amount of bits.
- B8
- a type used to represent a field with a specific amount of bits.
- B9
- a type used to represent a field with a specific amount of bits.
- B1Mut
Ref - B2Mut
Ref - B3Mut
Ref - B4Mut
Ref - B5Mut
Ref - B6Mut
Ref - B7Mut
Ref - B8Mut
Ref - B9Mut
Ref - B10
- a type used to represent a field with a specific amount of bits.
- B11
- a type used to represent a field with a specific amount of bits.
- B12
- a type used to represent a field with a specific amount of bits.
- B13
- a type used to represent a field with a specific amount of bits.
- B14
- a type used to represent a field with a specific amount of bits.
- B15
- a type used to represent a field with a specific amount of bits.
- B16
- a type used to represent a field with a specific amount of bits.
- B17
- a type used to represent a field with a specific amount of bits.
- B18
- a type used to represent a field with a specific amount of bits.
- B19
- a type used to represent a field with a specific amount of bits.
- B20
- a type used to represent a field with a specific amount of bits.
- B21
- a type used to represent a field with a specific amount of bits.
- B22
- a type used to represent a field with a specific amount of bits.
- B23
- a type used to represent a field with a specific amount of bits.
- B24
- a type used to represent a field with a specific amount of bits.
- B25
- a type used to represent a field with a specific amount of bits.
- B26
- a type used to represent a field with a specific amount of bits.
- B27
- a type used to represent a field with a specific amount of bits.
- B28
- a type used to represent a field with a specific amount of bits.
- B29
- a type used to represent a field with a specific amount of bits.
- B30
- a type used to represent a field with a specific amount of bits.
- B31
- a type used to represent a field with a specific amount of bits.
- B32
- a type used to represent a field with a specific amount of bits.
- B33
- a type used to represent a field with a specific amount of bits.
- B34
- a type used to represent a field with a specific amount of bits.
- B35
- a type used to represent a field with a specific amount of bits.
- B36
- a type used to represent a field with a specific amount of bits.
- B37
- a type used to represent a field with a specific amount of bits.
- B38
- a type used to represent a field with a specific amount of bits.
- B39
- a type used to represent a field with a specific amount of bits.
- B40
- a type used to represent a field with a specific amount of bits.
- B41
- a type used to represent a field with a specific amount of bits.
- B42
- a type used to represent a field with a specific amount of bits.
- B43
- a type used to represent a field with a specific amount of bits.
- B44
- a type used to represent a field with a specific amount of bits.
- B45
- a type used to represent a field with a specific amount of bits.
- B46
- a type used to represent a field with a specific amount of bits.
- B47
- a type used to represent a field with a specific amount of bits.
- B48
- a type used to represent a field with a specific amount of bits.
- B49
- a type used to represent a field with a specific amount of bits.
- B50
- a type used to represent a field with a specific amount of bits.
- B51
- a type used to represent a field with a specific amount of bits.
- B52
- a type used to represent a field with a specific amount of bits.
- B53
- a type used to represent a field with a specific amount of bits.
- B54
- a type used to represent a field with a specific amount of bits.
- B55
- a type used to represent a field with a specific amount of bits.
- B56
- a type used to represent a field with a specific amount of bits.
- B57
- a type used to represent a field with a specific amount of bits.
- B58
- a type used to represent a field with a specific amount of bits.
- B59
- a type used to represent a field with a specific amount of bits.
- B60
- a type used to represent a field with a specific amount of bits.
- B61
- a type used to represent a field with a specific amount of bits.
- B62
- a type used to represent a field with a specific amount of bits.
- B63
- a type used to represent a field with a specific amount of bits.
- B64
- a type used to represent a field with a specific amount of bits.
- B10Mut
Ref - B11Mut
Ref - B12Mut
Ref - B13Mut
Ref - B14Mut
Ref - B15Mut
Ref - B16Mut
Ref - B17Mut
Ref - B18Mut
Ref - B19Mut
Ref - B20Mut
Ref - B21Mut
Ref - B22Mut
Ref - B23Mut
Ref - B24Mut
Ref - B25Mut
Ref - B26Mut
Ref - B27Mut
Ref - B28Mut
Ref - B29Mut
Ref - B30Mut
Ref - B31Mut
Ref - B32Mut
Ref - B33Mut
Ref - B34Mut
Ref - B35Mut
Ref - B36Mut
Ref - B37Mut
Ref - B38Mut
Ref - B39Mut
Ref - B40Mut
Ref - B41Mut
Ref - B42Mut
Ref - B43Mut
Ref - B44Mut
Ref - B45Mut
Ref - B46Mut
Ref - B47Mut
Ref - B48Mut
Ref - B49Mut
Ref - B50Mut
Ref - B51Mut
Ref - B52Mut
Ref - B53Mut
Ref - B54Mut
Ref - B55Mut
Ref - B56Mut
Ref - B57Mut
Ref - B58Mut
Ref - B59Mut
Ref - B60Mut
Ref - B61Mut
Ref - B62Mut
Ref - B63Mut
Ref - B64Mut
Ref - BitLength
- an empty struct used to represent a specific bit length.
this is then combined with some traits (
ExactAssociatedStorage,AssociatedStorage) to perform operations on the specified bit length. - BitPiece
Bool Converter - BitPiece
Bool MutRef - BitPiece
I8Converter - BitPiece
I8Mut Ref - BitPiece
I16Converter - BitPiece
I16Mut Ref - BitPiece
I32Converter - BitPiece
I32Mut Ref - BitPiece
I64Converter - BitPiece
I64Mut Ref - BitPiece
U8Converter - BitPiece
U8Mut Ref - BitPiece
U16Converter - BitPiece
U16Mut Ref - BitPiece
U32Converter - BitPiece
U32Mut Ref - BitPiece
U64Converter - BitPiece
U64Mut Ref - BitsMut
- a convenience type for interacting with the bits of an underlying storage type, starting at a specific bit index. this is useful for implementing mutable references to bitpieces.
- SB1
- a type used to represent a field with a specific amount of bits.
- SB2
- a type used to represent a field with a specific amount of bits.
- SB3
- a type used to represent a field with a specific amount of bits.
- SB4
- a type used to represent a field with a specific amount of bits.
- SB5
- a type used to represent a field with a specific amount of bits.
- SB6
- a type used to represent a field with a specific amount of bits.
- SB7
- a type used to represent a field with a specific amount of bits.
- SB8
- a type used to represent a field with a specific amount of bits.
- SB9
- a type used to represent a field with a specific amount of bits.
- SB1Mut
Ref - SB2Mut
Ref - SB3Mut
Ref - SB4Mut
Ref - SB5Mut
Ref - SB6Mut
Ref - SB7Mut
Ref - SB8Mut
Ref - SB9Mut
Ref - SB10
- a type used to represent a field with a specific amount of bits.
- SB11
- a type used to represent a field with a specific amount of bits.
- SB12
- a type used to represent a field with a specific amount of bits.
- SB13
- a type used to represent a field with a specific amount of bits.
- SB14
- a type used to represent a field with a specific amount of bits.
- SB15
- a type used to represent a field with a specific amount of bits.
- SB16
- a type used to represent a field with a specific amount of bits.
- SB17
- a type used to represent a field with a specific amount of bits.
- SB18
- a type used to represent a field with a specific amount of bits.
- SB19
- a type used to represent a field with a specific amount of bits.
- SB20
- a type used to represent a field with a specific amount of bits.
- SB21
- a type used to represent a field with a specific amount of bits.
- SB22
- a type used to represent a field with a specific amount of bits.
- SB23
- a type used to represent a field with a specific amount of bits.
- SB24
- a type used to represent a field with a specific amount of bits.
- SB25
- a type used to represent a field with a specific amount of bits.
- SB26
- a type used to represent a field with a specific amount of bits.
- SB27
- a type used to represent a field with a specific amount of bits.
- SB28
- a type used to represent a field with a specific amount of bits.
- SB29
- a type used to represent a field with a specific amount of bits.
- SB30
- a type used to represent a field with a specific amount of bits.
- SB31
- a type used to represent a field with a specific amount of bits.
- SB32
- a type used to represent a field with a specific amount of bits.
- SB33
- a type used to represent a field with a specific amount of bits.
- SB34
- a type used to represent a field with a specific amount of bits.
- SB35
- a type used to represent a field with a specific amount of bits.
- SB36
- a type used to represent a field with a specific amount of bits.
- SB37
- a type used to represent a field with a specific amount of bits.
- SB38
- a type used to represent a field with a specific amount of bits.
- SB39
- a type used to represent a field with a specific amount of bits.
- SB40
- a type used to represent a field with a specific amount of bits.
- SB41
- a type used to represent a field with a specific amount of bits.
- SB42
- a type used to represent a field with a specific amount of bits.
- SB43
- a type used to represent a field with a specific amount of bits.
- SB44
- a type used to represent a field with a specific amount of bits.
- SB45
- a type used to represent a field with a specific amount of bits.
- SB46
- a type used to represent a field with a specific amount of bits.
- SB47
- a type used to represent a field with a specific amount of bits.
- SB48
- a type used to represent a field with a specific amount of bits.
- SB49
- a type used to represent a field with a specific amount of bits.
- SB50
- a type used to represent a field with a specific amount of bits.
- SB51
- a type used to represent a field with a specific amount of bits.
- SB52
- a type used to represent a field with a specific amount of bits.
- SB53
- a type used to represent a field with a specific amount of bits.
- SB54
- a type used to represent a field with a specific amount of bits.
- SB55
- a type used to represent a field with a specific amount of bits.
- SB56
- a type used to represent a field with a specific amount of bits.
- SB57
- a type used to represent a field with a specific amount of bits.
- SB58
- a type used to represent a field with a specific amount of bits.
- SB59
- a type used to represent a field with a specific amount of bits.
- SB60
- a type used to represent a field with a specific amount of bits.
- SB61
- a type used to represent a field with a specific amount of bits.
- SB62
- a type used to represent a field with a specific amount of bits.
- SB63
- a type used to represent a field with a specific amount of bits.
- SB64
- a type used to represent a field with a specific amount of bits.
- SB10
MutRef - SB11
MutRef - SB12
MutRef - SB13
MutRef - SB14
MutRef - SB15
MutRef - SB16
MutRef - SB17
MutRef - SB18
MutRef - SB19
MutRef - SB20
MutRef - SB21
MutRef - SB22
MutRef - SB23
MutRef - SB24
MutRef - SB25
MutRef - SB26
MutRef - SB27
MutRef - SB28
MutRef - SB29
MutRef - SB30
MutRef - SB31
MutRef - SB32
MutRef - SB33
MutRef - SB34
MutRef - SB35
MutRef - SB36
MutRef - SB37
MutRef - SB38
MutRef - SB39
MutRef - SB40
MutRef - SB41
MutRef - SB42
MutRef - SB43
MutRef - SB44
MutRef - SB45
MutRef - SB46
MutRef - SB47
MutRef - SB48
MutRef - SB49
MutRef - SB50
MutRef - SB51
MutRef - SB52
MutRef - SB53
MutRef - SB54
MutRef - SB55
MutRef - SB56
MutRef - SB57
MutRef - SB58
MutRef - SB59
MutRef - SB60
MutRef - SB61
MutRef - SB62
MutRef - SB63
MutRef - SB64
MutRef
Enums§
- BitPiece
Storage MutRef - a mutable reference to the storage type of some bitpiece.
Traits§
- Associated
Storage - a trait implemented for all
BitLengthtypes that are small enough and provides the minimal storage type required for storing that amount of bits. for example for bit lengths0..8this will beu8. - BitPiece
- BitPiece
HasFields - BitPiece
HasMut Ref - BitPiece
MutRef - a mutable reference to a bitpiece inside another bitpiece.
- BitStorage
- a type which can be used as the internal storage of a bitpiece.
- Exact
Associated Storage - a trait implemented for
BitLengthtypes that have an exact associated storage type, for exampleu8oru16.
Functions§
- const_
array_ max_ u64 - const_
array_ min_ u64 - extract_
bits - extracts some bits from a value
- extract_
bits_ noshift - extracts some bits (mask only, no shift) from a value
- modify_
bits - returns a new value with the specified bit range modified to the new value
Attribute Macros§
- bitpiece
- an attribute for defining bitfields.