pub struct Vp8BoolDecoder<'a> { /* private fields */ }Implementations§
Source§impl<'a> Vp8BoolDecoder<'a>
impl<'a> Vp8BoolDecoder<'a>
pub fn new(data: &'a [u8]) -> Self
pub fn eof(&self) -> bool
pub fn get(&mut self) -> u32
pub fn get_value(&mut self, num_bits: usize) -> u32
pub fn get_signed_value(&mut self, num_bits: usize) -> i32
pub fn get_signed(&mut self, value: i32) -> i32
pub fn get_bit(&mut self, prob: u8) -> u32
Trait Implementations§
Source§impl<'a> Clone for Vp8BoolDecoder<'a>
impl<'a> Clone for Vp8BoolDecoder<'a>
Source§fn clone(&self) -> Vp8BoolDecoder<'a>
fn clone(&self) -> Vp8BoolDecoder<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for Vp8BoolDecoder<'a>
impl<'a> RefUnwindSafe for Vp8BoolDecoder<'a>
impl<'a> Send for Vp8BoolDecoder<'a>
impl<'a> Sync for Vp8BoolDecoder<'a>
impl<'a> Unpin for Vp8BoolDecoder<'a>
impl<'a> UnsafeUnpin for Vp8BoolDecoder<'a>
impl<'a> UnwindSafe for Vp8BoolDecoder<'a>
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