pub struct VP8BitWriter {
pub range: i32,
pub value: i32,
pub run: i32,
pub nb_bits: i32,
pub buf: Vec<u8>,
pub pos: usize,
pub error: bool,
}Expand description
The boolean encoder of one partition, with the bytes it has written.
Fields§
§range: i32Range minus one.
value: i32§run: i32Number of outstanding 0xff bytes that wait for a possible carry.
nb_bits: i32Number of pending bits.
buf: Vec<u8>The byte buffer. Its length is the allocated size (C max_pos).
pos: usizeNumber of bytes written into buf.
error: boolSet after a failed memory allocation.
Trait Implementations§
Source§impl Debug for VP8BitWriter
impl Debug for VP8BitWriter
Auto Trait Implementations§
impl Forget for VP8BitWriter
impl Freeze for VP8BitWriter
impl Move for VP8BitWriter
impl RefUnwindSafe for VP8BitWriter
impl Send for VP8BitWriter
impl Sync for VP8BitWriter
impl Unpin for VP8BitWriter
impl UnsafeUnpin for VP8BitWriter
impl UnwindSafe for VP8BitWriter
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