pub struct VaricodeDecoder { /* private fields */ }Expand description
Stateful Varicode bit-stream decoder.
Feed bits one at a time with push_bit. Characters are emitted whenever
two consecutive 0-bits are detected (the inter-character separator).
Retrieve decoded characters with pop_char.
Implementations§
Trait Implementations§
Source§impl Clone for VaricodeDecoder
impl Clone for VaricodeDecoder
Source§fn clone(&self) -> VaricodeDecoder
fn clone(&self) -> VaricodeDecoder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VaricodeDecoder
impl Debug for VaricodeDecoder
Source§impl Default for VaricodeDecoder
impl Default for VaricodeDecoder
Source§fn default() -> VaricodeDecoder
fn default() -> VaricodeDecoder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VaricodeDecoder
impl RefUnwindSafe for VaricodeDecoder
impl Send for VaricodeDecoder
impl Sync for VaricodeDecoder
impl Unpin for VaricodeDecoder
impl UnsafeUnpin for VaricodeDecoder
impl UnwindSafe for VaricodeDecoder
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