pub struct FseTableEntry {
pub baseline: u16,
pub num_bits: u8,
pub symbol: u8,
pub seq_base: u32,
pub seq_extra_bits: u8,
/* private fields */
}Expand description
A single entry in an FSE decoding table.
For sequence tables (LL, ML, OF), this includes direct decoding fields that store the sequence baseline and extra bits count directly, matching zstd’s production decoder tables.
Fields§
§baseline: u16Base value to add to the read bits to get the next state.
num_bits: u8Number of bits to read from the bitstream for the next state.
symbol: u8The symbol this state decodes to (e.g., ML code, LL code, OF code).
seq_base: u32For sequences: direct base value for the decoded length/offset. This allows bypassing the symbol → baseline lookup for optimized decoding.
seq_extra_bits: u8For sequences: number of extra bits to read for this entry.
Implementations§
Trait Implementations§
Source§impl Clone for FseTableEntry
impl Clone for FseTableEntry
Source§fn clone(&self) -> FseTableEntry
fn clone(&self) -> FseTableEntry
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 moreSource§impl Debug for FseTableEntry
impl Debug for FseTableEntry
Source§impl Default for FseTableEntry
impl Default for FseTableEntry
Source§impl PartialEq for FseTableEntry
impl PartialEq for FseTableEntry
impl Copy for FseTableEntry
impl Eq for FseTableEntry
impl StructuralPartialEq for FseTableEntry
Auto Trait Implementations§
impl Freeze for FseTableEntry
impl RefUnwindSafe for FseTableEntry
impl Send for FseTableEntry
impl Sync for FseTableEntry
impl Unpin for FseTableEntry
impl UnwindSafe for FseTableEntry
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