pub struct LengthPadding {}
Expand description
LengthPadding can be used encode the number of bits in the bit stream.
When using this padding, an extra byte is appended at the end of the stream. This byte indicates how many bots in the previous byte are valid.
Implementations§
Source§impl LengthPadding
impl LengthPadding
Trait Implementations§
Source§impl Debug for LengthPadding
impl Debug for LengthPadding
Source§impl Default for LengthPadding
impl Default for LengthPadding
Source§fn default() -> LengthPadding
fn default() -> LengthPadding
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LengthPadding
impl RefUnwindSafe for LengthPadding
impl Send for LengthPadding
impl Sync for LengthPadding
impl Unpin for LengthPadding
impl UnwindSafe for LengthPadding
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more