pub trait BitOrder {
const FORMAT: OrderFormat;
}
Expand description
Associates bitvec::order::BitOrder
trait with corresponding, type-erased scale_bits::OrderFormat
enum.
Used to decode bit sequences in runtime by providing scale_bits::OrderFormat
using
bitvec
-like type type parameters.
Required Associated Constants§
Sourceconst FORMAT: OrderFormat
const FORMAT: OrderFormat
Corresponding scale_bits::OrderFormat
value.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.