pub struct FSETable {
pub decode: Vec<Entry>,
pub accuracy_log: u8,
pub symbol_probabilities: Vec<i32>,
/* private fields */
}
Fields§
§decode: Vec<Entry>
§accuracy_log: u8
§symbol_probabilities: Vec<i32>
Implementations§
source§impl FSETable
impl FSETable
pub fn new() -> FSETable
pub fn reinit_from(&mut self, other: &Self)
pub fn reset(&mut self)
pub fn build_decoder( &mut self, source: &[u8], max_log: u8 ) -> Result<usize, FSETableError>
pub fn build_from_probabilities( &mut self, acc_log: u8, probs: &[i32] ) -> Result<(), FSETableError>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FSETable
impl Send for FSETable
impl Sync for FSETable
impl Unpin for FSETable
impl UnwindSafe for FSETable
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