Struct bitstring::BitLengthString [−][src]
pub struct BitLengthString<W: FixedBitString> { /* fields omitted */ }
Expand description
Extend a
FixedBitString
to a
BitString
by also storing a
length.
Implementations
Create new dynamic-length bit string from fixed bit string and a length.
The bits in bits
after len
bits are set to false.
Panics
Panics if len > W::len()
.
check whether another bit string bits
is prefixed by self
length of bit string (same as
BitString::len()
)
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<W> RefUnwindSafe for BitLengthString<W> where
W: RefUnwindSafe,
impl<W> Send for BitLengthString<W> where
W: Send,
impl<W> Sync for BitLengthString<W> where
W: Sync,
impl<W> Unpin for BitLengthString<W> where
W: Unpin,
impl<W> UnwindSafe for BitLengthString<W> where
W: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more