pub struct VP8LBitWriter {
pub bits: vp8l_atype_t,
pub used: i32,
pub buf: Vec<u8>,
pub cur: usize,
pub error: bool,
}Expand description
The lossless bit writer: an accumulator of used pending bits and a buffer
that the complete words are written into.
Fields§
§bits: vp8l_atype_tPending bits, least significant first.
used: i32Number of bits used in bits.
buf: Vec<u8>The byte buffer. Its length is the allocated size (C end - buf).
cur: usizeOffset in buf of the current write position (C cur).
error: boolSet after a failed memory allocation.
Trait Implementations§
Source§impl Debug for VP8LBitWriter
impl Debug for VP8LBitWriter
Auto Trait Implementations§
impl Forget for VP8LBitWriter
impl Freeze for VP8LBitWriter
impl Move for VP8LBitWriter
impl RefUnwindSafe for VP8LBitWriter
impl Send for VP8LBitWriter
impl Sync for VP8LBitWriter
impl Unpin for VP8LBitWriter
impl UnsafeUnpin for VP8LBitWriter
impl UnwindSafe for VP8LBitWriter
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