pub struct FseState<'t> { /* private fields */ }Implementations§
Source§impl<'t> FseState<'t>
impl<'t> FseState<'t>
pub fn new( table: &'t [FseDecodeEntry], accuracy_log: u8, reader: &mut ReverseBitReader<'_>, ) -> Result<Self, DecompressError>
pub fn symbol(&self) -> u8
pub fn baseline(&self) -> u16
pub fn num_bits(&self) -> u8
pub fn update_state( &mut self, reader: &mut ReverseBitReader<'_>, ) -> Result<(), DecompressError>
pub fn decode_symbol( &mut self, reader: &mut ReverseBitReader<'_>, ) -> Result<u8, DecompressError>
pub fn state(&self) -> u32
Auto Trait Implementations§
impl<'t> Freeze for FseState<'t>
impl<'t> RefUnwindSafe for FseState<'t>
impl<'t> Send for FseState<'t>
impl<'t> Sync for FseState<'t>
impl<'t> Unpin for FseState<'t>
impl<'t> UnsafeUnpin for FseState<'t>
impl<'t> UnwindSafe for FseState<'t>
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