primitives/primitives library

Classes

$ScaleRawBytesCodec
Codec for ScaleRawBytes that writes the bytes directly without any encoding
ArrayCodec<A>
BitArray
Bit array to store bits.
BitSequenceCodec
A codec representing a sequence of bits.
BoolCodec
BTreeMapCodec<K, V>
BTreeMap to encode/decode map of values
CompactBigIntCodec
CompactCodec
ComplexEnumCodec<V>
CompositeCodec
Composite to encode/decode map of values
I128Codec
I16ArrayCodec
I16Codec
I16SequenceCodec
I256Codec
I32ArrayCodec
I32Codec
I32SequenceCodec
I64ArrayCodec
I64Codec
I64SequenceCodec
I8ArrayCodec
I8Codec
I8SequenceCodec
NestedOptionCodec<E>
NullCodec
Empty codec to encode/decode nothing
Option<E>
OptionCodec<E>
ProxyCodec
A proxy codec that can be used to dynamically change the codec
Result<R, E>
ResultCodec<R, E>
ScaleRawBytes
A wrapper for raw SCALE-encoded bytes that should be written as-is during encoding, bypassing the normal encode/decode cycle.
SequenceCodec<A>
SetCodec
SimpleEnumCodec<A>
StrCodec
TupleCodec
U128Codec
U16ArrayCodec
U16Codec
U16SequenceCodec
U256Codec
U32ArrayCodec
U32Codec
U32SequenceCodec
U64ArrayCodec
U64Codec
U64SequenceCodec
U8ArrayCodec
U8Codec
U8SequenceCodec

Enums

BitOrder
In-Element Bit Ordering The BitOrder bridges semantic indices to electrical position counters or selection masks (marked by the BitSel and BitMask types). Reference: https://github.com/ferrilab/bitvec/blob/v0/22/3/src/order.rs#L358-L377
BitStore
Defines the BitArray memory model used to interface bit-slice regions to raw memory, and manage type-state changes as demanded by the region descriptor. Reference: https://github.com/ferrilab/bitvec/blob/v0/22/3/src/store.rs#L307-L316
Primitives
PrimitivesEnum

Constants

None → const Option