pub type BitField<TOwner, X, Y> = BitFieldImpl<TOwner, Minimum<X, Y>, Or<Or<Xor<Sub1<Shleft<U1, X>>, Sub1<Shleft<U1, Y>>>, Shleft<U1, X>>, Shleft<U1, Y>>>;Expand description
Define a BitField bound to TOWner (typically a Storage). The bit range of
the field includes bits from X to Y inclusively. The ordering of bit positions
does not matter: BitField<Owner, B0, B7> defines the same field as BitField<Owner, B7, B0>
although technically the two are distinct types.
Aliased Typeยง
pub struct BitField<TOwner, X, Y> { /* private fields */ }