Enums§
- BigEndian
- Defines big endian bit shifting required for packing and unpacking non aligned fields in byte slices
- Error
- Enum of possible errors returned from packing functions
- Little
Endian - Defines little endian bit shifting required for packing and unpacking non aligned fields in byte slices
Traits§
- Bit
- Trait signifying a single bit in a byte. 7 = most significant bit, 0 = least significant bit
- Cmp
- A type operator for comparing
Self
andRhs
. It provides a similar functionality to the functioncore::cmp::Ord::cmp
but for types. - Endian
- Trait that covers functionality required to deal with non aligned endian sensitive fields in packed structs
- IsGreater
OrEqual - A type operator that returns
True
ifSelf >= Rhs
, otherwise returnsFalse
. - IsLess
- A type operator that returns
True
ifSelf < Rhs
, otherwise returnsFalse
. - IsLess
OrEqual - A type operator that returns
True
ifSelf <= Rhs
, otherwise returnsFalse
. - Packed
- Trait that enables packing and unpacking to/from byte slices
- Packed
Bytes - Trait that enables endian aware conversion to/from bytes for packable types
- Packed
Size - Unsigned
- The marker trait for compile time unsigned integers.
Type Aliases§
- 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